Confirming an AFT payment

Confirmation

When you send a payment request with the aft object included, BR-DGE returns a processedAsAft field in the response, indicating whether the payment was processed as an AFT. This field is also included in BR-DGE webhooks for these payments, and can be retrieved by querying the payment using GET /v1/payments or GET /v1/payments/{paymentId}/status.

processedAsAft is populated based on the receiving PSP's response, and can be one of the following values:

ValueMeaning
YESThe PSP's response confirmed that the payment was processed as an AFT.
NOThe PSP's response confirmed that the payment was processed as a standard payment, not an AFT.
UNKNOWNThe PSP's response did not include enough information for BR-DGE to determine whether the payment was processed as an AFT or not.
📘

Not every PSP includes this confirmation in its response.

A value of UNKNOWN means BR-DGE could not confirm the outcome from the PSP's response — it does not necessarily mean that the AFT was processed incorrectly.

Example of a payment response containing AFT confirmation:

{
  "code": "1000",
  "message": "Approved",
  "id": "6ad8d6b8faa4db09887aa2952d967500",
  "paymentId": "c11eda4a-a5e5-4c0a-8aa0-914c39b7adf8",
  "amount": 1000,
  "currencyCode": "USD",
  "actionRequired": false,
  "psp": {
    "name": "Paysafe",
    "transactionId": "9ad5fd43-9e7f-40d7-9867-1095e58269f8"
  },
  "pspId": "PSF",
  "customerOrderCode": "92e4b120-7976-4eea-b392-c11e2b762ab5",
  "processedAsAft": "YES"
}

Did this page help you?