Transfers

Reverse A Transfer

POST
/transfers/{id}/reversal

Reverse a Transfer

This will reverse a Transfer. The funds from the transfer will be returned to the initiating merchant.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /accesstoken, sent as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

A unique identifier for the merchant set by Global Payments.

Header Parameters

X-GP-Idempotency?string

Integrator generated value submitted in the request header that is checked to ensure the same value has not been seen in the last 24 hours. It is used to ensure idempotency is maintained with this action.

Length1 <= length <= 50
X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"

Request Body

application/json

amount?string

The amount that is being transferred. Represented in the lowest denomination of the currency (i.e. $100.00 = 10000

Lengthlength <= 50

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/transfers/MER_880c34767b184d5e82b10e767201e648/reversal" \  -H "X-GP-Version: 2021-03-22" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "TRF_U3bZFd2jL98L0XacplaUvPSSDhFI2J",  "time_created": "2023-03-10T13:14:48.386Z",  "status": "SUCCESS",  "type": "TRANSFER",  "country": "US",  "currency": "USD",  "amount": "10000",  "usable_balance_mode": "AVAILABLE_BALANCE",  "merchant_id": "MER_880c34767b184d5e82b10e767201e648",  "merchant_name": "Curtis_Douglas49",  "account_name": "718556837_989567",  "account_id": "FMA_bde109d70fb24d78b25fd364317dd9dc",  "recipient_merchant_id": "MER_880c34767b184d5e82b10e767201e648",  "recipient_merchant_name": "Curtis_Douglas49",  "recipient_account_id": "FMA_b29c209e25db47ea8d9ef9f24ef29254",  "recipient_account_name": "718556837_989567",  "reference": "1234",  "provider": {    "result": "0",    "message": "Succesful"  },  "action": {    "id": "ACT_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "type": "TRANSFER_SINGLE",    "time_created": "2021-05-03T21:23:39.718Z",    "result_code": "SUCCESS",    "app_id": "uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "app_name": "my_lovely_app"  }}