Cancel a Pending Settlement

PUT /cardpayments/v1/accounts/account_id/settlements/settlement_id

Use a PUT request to update a settlement's status to CANCELLED.

Request Example
curl -X PUT \
  -u devcentre322:B-qa2-0-53625f86-302c021476f52bdc9deab7aea876bb28762e62f92fc6712d0214736abf501e9675e55940e83ef77f5c304edc7968 \
  -H 'Content-Type: application/json' \
  -d  ' {
           "status" : "CANCELLED"
        } '
Response Example

Prior to trying the example, you should:

  • Replace the account number (89987201) in the URL with the test account number you received.
  • Replace the settlement ID in the URL with the settlement ID returned in the authorization response.
  • Replace the API key (after the -u) with the API key you received.

The cancel pending settlement request must reach Paysafe before the original settlement request is batched, which varies by bank.

Depending on your account configuration, the amount held on the customer's card may or may not be immediately released. Please contact your account manager for details.

Did you find this page useful?