Skip to content

Commit

Permalink
[Payment Routing] Add info regarding max URL length (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosetyawanh authored Dec 28, 2023
1 parent 8b777e6 commit 87a88dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/includes/_payment_routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ Endpoint:
| va_display_name | String | FALSE | Partner's brand name | Display name for VA that will be displayed once user do inquiry. If empty VA name will be set using partner brand name. This parameter will be used only if you use BANK_TRANSFER payment method and routed to VA. |
| trx_expiration_time | Date string; yyyy-mm-dd hh:mm:ss format (UTC+7) | FALSE | Refer to [Default Expiration Time](https://api-docs.oyindonesia.com/#transaction-expiration-time-guidelines-create-and-update-payment-routing) | Set expiration time of transaction. Please refer to [Transaction Expiration Time Guidelines](https://api-docs.oyindonesia.com/#transaction-expiration-time-guidelines-create-and-update-payment-routing) |
| trx_counter | Numeric | FALSE | 1/-1 | A transaction counter to limit number of transaction that can be receive by va number. For example, if you put 3, it means that the VA number can only accept transaction 3 times. This parameter will be used only if you use BANK_TRANSFER payment method and routed to VA. |
| success_redirect_url | String | CONDITIONAL | - | Indicates the URL of your environment to redirect customers back to once payment has been completed. Accepts both HTTP links and URL scheme formats. Required if payment method is either "EWALLET" or "CARDS", and `need_frontend` is set to false. Specific for Shopeepay Direct Payment, Shopeepay will redirect to this url based on the result of the payment. If the payment is successful, ShopeePay will send an additional param `?result=100` following the redirect url. Otherwise, ShopeePay will send additional param `?result=201` for failed payment (insufficient balance, wrong pin, link has been paid, or user click back button). Example: `https://example.com/callback?result=100`. |
| failed_redirect_url | String | CONDITIONAL | - | Indicates the URL of your environment to redirect customers back to once payment cannot be completed. Accepts both HTTP links and URL scheme formats. Required if payment method is "CARDS", and `need_frontend` is set to false. |
| success_redirect_url | String(512) | CONDITIONAL | - | Indicates the URL of your environment to redirect customers back to once payment has been completed. Accepts both HTTP links and URL scheme formats. Required if payment method is either "EWALLET" or "CARDS", and `need_frontend` is set to false. Specific for Shopeepay Direct Payment, Shopeepay will redirect to this url based on the result of the payment. If the payment is successful, ShopeePay will send an additional param `?result=100` following the redirect url. Otherwise, ShopeePay will send additional param `?result=201` for failed payment (insufficient balance, wrong pin, link has been paid, or user click back button). Example: `https://example.com/callback?result=100`. |
| failed_redirect_url | String(512) | CONDITIONAL | - | Indicates the URL of your environment to redirect customers back to once payment cannot be completed. Accepts both HTTP links and URL scheme formats. Required if payment method is "CARDS", and `need_frontend` is set to false. |
| payment_routing | List of Objects | FALSE | - | List of disburse recipient; max. is 10 |
| recipient_bank | String | TRUE | - | Bank code of the recipient account |
| recipient_account | String | TRUE| - | Recipient bank account number. For testing purpose, please see List of Disbursment Mock Account below |
Expand Down

0 comments on commit 87a88dc

Please sign in to comment.