POST
/
exemption-certificates

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
issued_at
string
required

ISO 8601 formatted string indicating the date when this exemption certificate was issued.

country
string
required

ISO 3166 2-letter country code. Ex: US, IN, GB.

jurisdiction
string
required

A string representing the jurisdiction: either a 2-letter state code (ISO 3166-2 suffix), 'SST', or 'MTC', depending on the exemption certificate details.

type
enum<string>
required

Type of the exemption certificate. Request additional types from the Commenda team as required.

Available options:
PURPOSE_WHOLESALE,
ENTITY_TYPE_NONPROFIT
customer_id
string
required

The unique identifier of the customer associated with this exemption certificate.

file_id
string
required

Identifier of the file to use as the exemption certificate for this customer. Returned from the POST /files endpoint once the file is uploaded.

expiring_at
string

ISO 8601 formatted date string indicating the date when this exemption certificate will expire. This is an optional field as some certificates might be valid indefinitely.

Response

200 - application/json
data
object
message
string