Customer certificates

Create customer certificate request

Creates a customer certificate request and (by default) emails it to the customer contact. The recipient can upload their certificate via the returned requestLink.

This endpoint is a premium feature. Please contact hello@anrok.com to enable the exemption certificate portal on your seller account.

post/v1/seller/certificateRequests/create

Request

  • Base URL: https://api.anrok.com
  • URL: https://api.anrok.com/v1/seller/certificateRequests/create
  • Auth: HTTP bearer

Request body

customerIdstring required

The Anrok customer ID used to link transactions for the same customer and to look up tax exemption certificates for a customer. This is typically the billing system's customer ID with a prefix to disambiguate.

  • If customerId is provided without customerName, that customer object must already exist in Anrok.
  • If both customerId and customerName are provided, the customer object will be created if it is not already present.
  • Customer IDs are unique across the entire seller account.
customerNamestring

The name of the customer. This is used for display purposes only.

emailAddressstring email required

The email address of the customer contact to send the certificate request to.

sendEmailboolean

Whether to email the certificate request to the recipient. If false, the request is created but no email is sent — you can share the resulting requestLink directly.

autoApproveboolean

Whether to automatically approve the certificate once the customer submits it, instead of leaving the submission pending review in the Anrok dashboard. If a submission cannot be approved automatically, it falls back to the standard review flow.

Example request

{
  "customerId": "v1:1292",
  "customerName": "Acme Inc",
  "emailAddress": "contact@acme.com"
}

Response

OK

requestIdstring required

The Anrok-assigned ID of the certificate request.

requestLinkstring uri required

The URL the customer can use to upload their certificate.

Example response

{
  "requestId": "cre_3xT8sLpz4q",
  "requestLink": "https://app.anrok.com/certificate-request/cre_3xT8sLpz4q"
}

Changes

No recorded changes to this operation across all 1 revision of this API.