cURL
curl --request GET \ --url https://api-beta.pepay.io/api/v1/merchant/payment-return-url \ --header 'Authorization: Bearer <token>'
{ "payment_return_url": "https://merchant.example.com/checkout/complete", "payment_return_url_enabled": true }
Retrieves the merchant-level default return URL used for hosted checkout when an invoice does not supply a payment_return_url. If no default is set, payment_return_url is null and payment_return_url_enabled is false.
payment_return_url
payment_return_url_enabled
JWT token for wallet authentication
Default return URL retrieved
"https://merchant.example.com/checkout/complete"
true
Was this page helpful?