Skip to navigation

Update a merchant

Updates an existing merchant, identified by its id or your externalId.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

The record’s id (a UUID), or your own externalId (any non-UUID value is treated as an externalId).

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 updated.
dataobject
A merchant that bills your end users.

Errors

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