Skip to main content
PUT
/
api
/
v1
/
merchant
/
payment-return-url
Update merchant default payment return URL
curl --request PUT \
  --url https://api-beta.pepay.io/api/v1/merchant/payment-return-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "payment_return_url": "https://merchant.example.com/checkout/complete"
}
'
{
  "payment_return_url": "<string>",
  "payment_return_url_enabled": true
}

Authorizations

Authorization
string
header
required

JWT token for wallet authentication

Body

application/json
payment_return_url
string<uri> | null
Maximum string length: 2048
Example:

"https://merchant.example.com/checkout/complete"

Response

Default return URL updated

payment_return_url
string<uri> | null
payment_return_url_enabled
boolean