πŸ“–Contact Management

Basic CRUD operations on Contact Management. These are specific individual contacts associated with a Merchant Account.

List Contacts

Use this endpoint to list all contacts associated with a merchant account.

get
Query parameters
pageintegerOptional

Page number (default: 0)

page_sizeinteger Β· min: 1 Β· max: 10Optional

Number of results per page (default: 10)

Header parameters
AuthorizationstringRequired

Secret Token for user authentication

Example: {"value":"Token tk-1234sOuTH-AfrICa567"}
Responses
200

paginated list of contacts

application/json
get
/api/v1/contacts

Get Contact

Use this endpoint to get a specific contact, provide contact ID.

get
Path parameters
contact_idintegerRequired

ID of the additional contact to fetch

Header parameters
AuthorizationstringRequired

Secret Token for user authentication

Example: {"value":"Token tk-1234sOuTH-AfrICa567"}
Responses
200

contact updated successfully

application/json
Responseall of
get
/api/v1/contacts/{contact_id}

Create a Contact

Use this endpoint to create a new contact.

post
Header parameters
AuthorizationstringRequired

Secret Token for user authentication

Example: {"value":"Token tk-1234sOuTH-AfrICa567"}
Body
anyOptional
Responses
200

contact created successfully

application/json
Responseall of
post
/api/v1/contacts

Update a Contact

Use this endpoint to update a contact, given the ID.

post
Path parameters
contact_idintegerRequired

ID of the additional contact to update

Header parameters
AuthorizationstringRequired

Secret Token for user authentication

Example: {"value":"Token tk-1234sOuTH-AfrICa567"}
Body
first_namestringOptionalExample: Jon
last_namestringOptionalExample: Doe
phonestringOptionalExample: +27987654321
rolestringOptionalExample: VP Engineering
Responses
200

contact updated successfully

application/json
Responseall of
post
/api/v1/contacts/{contact_id}

Delete a Contact

Use this endpoint to delete a contact, given the ID.

delete
Path parameters
contact_idintegerRequired

ID of the additional contact to delete

Header parameters
AuthorizationstringRequired

Secret Token for user authentication

Example: {"value":"Token tk-1234sOuTH-AfrICa567"}
Responses
200

contact updated successfully

application/json
delete
/api/v1/contacts/{contact_id}

Last updated