Leepa Africa API

Sections

Theme switcher

Create Transfer Request

To initiate a new transfer you must provide the following parameters:

  • to_address: The recipient’s email address (must be registered with our platform) or wallet - Use the same email used when creating a purchase session.
  • amount: Amount of tokens to transfer
  • chainId: ID of the target blockchain.
  • token: Symbol of the token being transferred (e.g., USDC, USDT, PYUSD)

This endpoint transfers funds directly to the recepieng without requiring any signatures from the merchant. If the amountexceeds the allowance set at wallet security page, the API would not process the transfer.


Important Notes

⚠️ The recipient's email must be registered with our platform to prevent unauthorized or accidental transfers.

⚠️ chainIdvalues for the TEST ENVIRONMENT are:

  • 80002 for Polygon
  • 84532 for Base
  • 11155111 for Ethereum

⚠️ chainIdvalues for the PRODUCTION ENVIRONMENT are:

  • 137 for Polygon
  • 8453 for Base
  • 1 for Ethereum

Header Parameters

Content-Typestring
API-Keystring Required
Merchant-IDstring Required

Body Parameters

to_addressstring
amountnumber
chainIdnumber
tokenstring

Response

200
Object

Response Attributes

dataobject

Show child attributes

statusnumber
401
Object

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusinteger

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

400
Object
Invalid

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusinteger

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

500
Object

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusinteger

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?