Skip to content

Post Process Transfer ​

https://api.magmasend.com/v2/transaction/confirm

Process Transfer ​

This guide helps you to understand how to confirm a transaction that has already been initialized using the API.

HEADERS ​

AuthorizationBearer TOKEN

Status list ​

StatusDescription
PENDINGTransaction 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 NameTypeMandatoryDescription
referenceStringMandatoryA unique transaction reference

Response Information ​

Here are the parameters you will receive in your response:

FieldTypeDescription
codeIntegerHTTP status code. 200 means the request was successfully processed.
statusStringIndicates the result of the operation
commentStringMessage describing the status of the operation.
transaction.referenceStringUnique reference of the transaction.
transaction.collection_pinStringUnique code provided to the receiver to collect the transfer. Must be kept secure.
transaction.transaction_idStringUnique identifier of the transaction, generated by the system.
transaction.payment_methodStringMethod used for payout .
transaction.payout_amountNumberAmount the receiver will collect.
transaction.payout_currencyStringCurrency of the payout.
transaction.payout_countryStringCountry code where the payout will happen.
transaction.sending_currencyStringCurrency used by the sender to fund the transfer.
transaction.sending_amountStringAmount sent by the sender.
transaction.sending_fee_amountStringFee charged to the sender for the transfer.
transaction.exchange_rateStringExchange rate applied, if currency conversion is involved.
transaction.sender_referenceStringUnique reference of the sender.
transaction.receiver_referenceStringUnique reference of the receiver .
transaction.statusStringCurrent status of the transaction .
transaction.commentStringAdditional 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"
}'