From 87a88dc8f1a29e2ea49db02b614e4279f6b61007 Mon Sep 17 00:00:00 2001 From: nicosetyawanh Date: Thu, 28 Dec 2023 20:08:36 +0700 Subject: [PATCH] [Payment Routing] Add info regarding max URL length (#274) --- source/includes/_payment_routing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/_payment_routing.md b/source/includes/_payment_routing.md index 1d9c7aad..a04c579d 100644 --- a/source/includes/_payment_routing.md +++ b/source/includes/_payment_routing.md @@ -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 |