Skip to main content

Transfer

P2P Transfer​

Transfers funds from one user’s wallet to another user’s wallet.

POST {{baseUrl}}/issuing/api/:version/wallet/transfer

Description

This API enables peer-to-peer wallet transfers. The sender initiates a transfer to another registered user by providing the receiver’s email and transfer details such as amount and purpose of transfer.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesUnique identifier of the cardholder
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

Request Body Parameters

ParameterTypeRequiredDescription
emailstringYesEmail of the receiver
amountintegerYesAmount to be transferred
descriptionstringYesShort description/purpose for the transfer

Request Example

curl --location --request POST \
--url '{{baseUrl}}/issuing/api/:version/wallet/transfer' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "johnsmith11@yopmail.com",
"amount": 5,
"description": "testing P2P"
}'

Response Example

{
"status": "success",
"message": "Funds Transferred Successfully!",
"code": 200,
"data": [
{
"id": "fund-transfer-id"
}
]
}