Skip to navigation

Create a merchant

Creates a merchant under your platform. Include your own externalId to link it to your system; sending that same externalId again later updates the merchant instead of creating a duplicate.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Request

The writable fields of a merchant.
namestringRequired
The merchant's display name.
externalIdstringOptional
The merchant's identifier in your system. Send it again on a later request to update the same record.
logoUrlstringOptionalformat: "uri"
A URL to the merchant's logo.
primaryColorstringOptional

The merchant’s primary brand color (e.g. a hex value).

websiteSlugstringOptionalformat: "^[a-z0-9-]+$"

A lowercase alphanumeric/hyphen slug for the merchant’s portal URL.

Response

Merchant created.
dataobject
A merchant that bills your end users.

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
500
Internal Server Error