Initiate a refund

Initiates a refund for a succeeded payin (payment page).

Sandbox limitation — pages manually marked paid via the sandbox "Mark as Paid" button have no captured payment to reverse, so refunds fail with DB_QUERY_DOCUMENT_FAILED (payment:undefined). This is expected. To test refunds in sandbox, complete a real payment with test-card details first.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Payment page ID

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json