Rembourser la transaction

Refunds a transaction. You can either refund the entire amount or specify a partial amount.

Requêtes récentes
Log in to see full request history
TempsStatutAgent utilisateur
Retrieving recent requests…
ChargementChargement en cours ...
Path Params
string
Obligatoire

A unique ID representing the transaction’s loan or charge ID.

Paramètres du corps

The request body used to refund a transaction.

integer | null
≥ 1

The amount to be refunded in cents. If the request omits this parameter, the entire remaining amount on the transaction will be fully refunded.

string | null

An optional, unique identifier that may be associated with each transaction event and reconciled with the system of record used by the merchant.

métadonnées
objet

Unstructured metadata containing any additional data to be passed into each refund request.

En-têtes
string

Unique identifier pre-generated by the client and used by the server to recognize successive calls to the same endpoint. This is required for Split Capture and encouraged for single transaction functionality. Note: If a request fails or times out, use the same idempotency key to retry the operation without risk of double-processing. For details, see the Idempotency section on About Split Capture.

string
Obligatoire

Required param to identify the country in which Affirm is used and uses an "alpha-3" three-letter country code. Supported countries are the United States (USA), Canada (CAN), and the United Kingdom (GBR).

Réponses

Langue
Informations d'identification
Basic
base64
:
URL
LoadingLoading…
Réponse
Click Try It! to start a request and see the response here! Or choose an example:
*/*