Additional and optional configurations that can be useful in different cases.
This option will allow you, when creating the session, to declare redirect and notification URLs without needing requests. To use this function, you must add the following fields:
| payment_completed_url | URL that will be used to redirect a successful payment. |
|---|---|
| payment_cancellation_url | URL that will be used to redirect a canceled payment. |
| payment_webhook_url | URL that will be used to notify payment status updates. |
| concat | If the path includes the use of parameters, you must send that parameter to indicate which character should be used to concatenate something to that URL. |
Each of these fields is completely optional and they are not linked to each other. Therefore, if you only want to modify one URL, it is enough to add only that field to the request.
EXAMPLE:
{
//BASE PROCESS FIELDS
"merchant_code": "your_merchant_code",
"merchant_api_token": "your_merchant_api_token",
"merchant_order_id": "your_order_id",
"user_bank_code": "cl_mach",
"order_amount": 1000,
//DYNAMIC REDIRECTION FIELDS
"payment_completed_url": "[<https://domain.com/etpay/success>](<https://domain.com/etpay/success>)",
"payment_cancellation_url": "[<https://domain.com/etpay/error>](<https://domain.com/etpay/error>)",
"payment_webhook_url": "[<https://domain.com/etpay/webhook>](<https://domain.com/etpay/webhook>)",
"concat":"&"
}