Create a pricing unit

View as Markdown
Creates a pricing unit for custom credit denominations. Conversion rates can be added after creation.

Authentication

AuthorizationBearer
API key obtained from the Grant dashboard

Request

This endpoint expects an object.
codestringRequired>=1 character
Stable code for the pricing unit
namestring or nullOptional
Optional display name

Response

Pricing unit created
successboolean
pricing_unitobject
request_idstring

Errors

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