List Merchants
GET/v1/merchants
List all merchants
Responses
- 200
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
merchants
object[]
Merchant ID. Used only with Platform API.
Entity ID (Merchant Account). This ID is used with all other APIs.
Possible values: [freelancer, establishment, company, foreign_company, government, charity]
Merchant type determine the goverment category for the onboarded merchant and also affects the required KYC documents.
Possible values: [pending, missing_docs, under_review, semi_active, active, hold, rejected, disabled]
Merchant current status.
The status missing_docs indicates that there are required changes that must be done for the merchant which can be found in reasons.
After fixing the issues, the merchant must be submitted again for review.
Merchant name
meta
object
{
"merchants": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "freelancer",
"status": "pending",
"name": "Chocolate Factory",
"website": "https://example.com",
"email": "[email protected]",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [authentication_error]
Possible values: [Invalid authorization credentials]
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [api_error]
Possible values: [User not authorized]
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}
One of the record referenced in the request was not found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [record_not_found]
{
"type": "record_not_found",
"message": "The <object type> record you were looking for was not found.",
"errors": null
}