Create https://docs.herald-api.rare-able.com/api/merchants
POST

This endpoint allows a create new merchant by providing necessary details such as client_reference_id. Upon successful generating the token , the API returns a success message and kyc token.

BODY PARAMS

name string required
Required | Min : 3 | Max : 50 | Regex : ^[A-Za-z0-9 ]+$ | Letters, numbers and spaces
email string required
Required | Min : 5 | Max : 100 | Email
client_reference_id string required
Required | Min : 5 | Max : 100 | Regex : ^[A-Za-z0-9-_]+$ | Letters, numbers, hyphens and underscores

HEADERS

Accept "string"
application/json
x-api-key (Secret Key) "string"
To know how to generate please use Merchant Secret

RESPONSES

success "boolean"
message "string"
code "integer"
data "object"

merchant "object"

unique_id "string"
name "string"
email "string"
status "integer"
status_formatted "string"
client_reference_id "string"
created_at "string"
updated_at "string"

success "boolean"
message "string"
code "integer"
data "object"

email "string"