Cancel payment agreement

Cancel an existing payment agreement by id.

Error Codes

CodeStatusReasonWhat to do
PAM_INVALID_OPERATION400Current agreement state cannot be cancelledEnsure agreement is in cancellable state.
PAM_SB_PAG_NOT_FOUND_ERROR404Payment agreement not foundCheck id and ensure it belongs to this merchant.
MOV_RECALL_FAILED404Unable to recall agreementUnable to recall agreement, please check status
PAM_FORBIDDEN_ERROR403Merchant is not allowed to cancel this agreementVerify merchant ownership/permissions.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
Responses

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