Skip to content

Commit

Permalink
update description in sample subscription api
Browse files Browse the repository at this point in the history
  • Loading branch information
omarxp committed Nov 11, 2021
1 parent 4cd5d08 commit 06d507b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/subscription/credit_card_subscription_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
)

# To use API subscription for credit card, you should first obtain the 1 click token
# Refer to docs: https://docs.midtrans.com/en/core-api/advanced-features?id=recurring-transaction-with-subscriptions-api
# Refer to this docs: https://docs.midtrans.com/en/core-api/advanced-features?id=recurring-transaction-with-subscriptions-api

# You will receive saved_token_id after complete 3ds authentication (it also available in the JSON of HTTP notification)
# Refer to docs: https://docs.midtrans.com/en/core-api/advanced-features?id=sample-3ds-authenticate-json-response-for-the-first-transaction
# You will receive saved_token_id as part of the response when the initial card payment is accepted (will also available in the HTTP notification's JSON)
# Refer to this docs: https://docs.midtrans.com/en/core-api/advanced-features?id=sample-3ds-authenticate-json-response-for-the-first-transaction
# {
# ...
# "card_type": "credit",
Expand Down
6 changes: 3 additions & 3 deletions examples/subscription/gopay_subscription_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
)

# To use API subscription for gopay, you should first link your customer gopay account with gopay tokenization
# Refer to docs: https://api-docs.midtrans.com/#gopay-tokenization
# Refer to this docs: https://api-docs.midtrans.com/#gopay-tokenization

# You will receive gopay payment token with get_payment_account API
# Check Tokenization examples folder (/examples/tokenization)
# You will receive gopay payment token using `get_payment_account` API call.
# You can see some Tokenization API examples here (examples/tokenization)
# {
# "status_code": "200",
# "payment_type": "gopay",
Expand Down

0 comments on commit 06d507b

Please sign in to comment.