Appearance
Post Process Transfer
https://api.magmasend.com/v2/transaction/confirmProcess Transfer
This guide helps you to understand how to confirm a transaction that has already been initialized using the API.
HEADERS
| Authorization | Bearer TOKEN |
|---|
Status list
| Status | Description |
|---|---|
| PENDING | Transaction is on processing |
- Please note that only "SUCCESS" and "FAILED" statuses are final ones, any others are temporary and will be updated as soon as possible
Request Information
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| reference | String | Mandatory | A unique transaction reference |
Response Information
Here are the parameters you will receive in your response:
| Field | Type | Description |
|---|---|---|
| code | Integer | HTTP status code. 200 means the request was successfully processed. |
| status | String | Indicates the result of the operation |
| comment | String | Message describing the status of the operation. |
| transaction.reference | String | Unique reference of the transaction. |
| transaction.collection_pin | String | Unique code provided to the receiver to collect the transfer. Must be kept secure. |
| transaction.transaction_id | String | Unique identifier of the transaction, generated by the system. |
| transaction.payment_method | String | Method used for payout . |
| transaction.payout_amount | Number | Amount the receiver will collect. |
| transaction.payout_currency | String | Currency of the payout. |
| transaction.payout_country | String | Country code where the payout will happen. |
| transaction.sending_currency | String | Currency used by the sender to fund the transfer. |
| transaction.sending_amount | String | Amount sent by the sender. |
| transaction.sending_fee_amount | String | Fee charged to the sender for the transfer. |
| transaction.exchange_rate | String | Exchange rate applied, if currency conversion is involved. |
| transaction.sender_reference | String | Unique reference of the sender. |
| transaction.receiver_reference | String | Unique reference of the receiver . |
| transaction.status | String | Current status of the transaction . |
| transaction.comment | String | Additional notes on the transaction's state. |
Curl
curl --location 'https://api.magmasend.com/v2/transaction/confirm' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \
--data '{
"reference":"82435064225"
}'