Leepa Africa API

Sections

Theme switcher

Create an account

As a platform merchant, you can create accounts for your users (submerchants).

If you’ve already collected information for your connected accounts, you set that information here. We won’t ask for the prefilled information during account onboarding. You can prefill any information on the account. Creating connected accounts in this way allows you to call endpoints as that account, to perform actions for your users.

Additionally, if you need to setup a wallet address for your users, you can send it in the default_deposit_address parameter of the request body. Alternativelly, you can leave it empty and the user will be guided to creating their own wallet when they sign up.

For submitting the additional metadata about the user, below are the accepted values per input (optional):

Industry

Plain text

UserRole

Plain text

CompanySize

Plain text

UseCase

Plain text

Header Parameters

Content-Typestring
API-Keystring Required
Merchant-IDstring Required

Body Parameters

default_deposit_addressstring
business_profileobject

Show child attributes

individualobject

Show child attributes

settingsobject

Show child attributes

Response

200
Object

Response Attributes

dataobject

Show child attributes

statusinteger
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?