Skip to navigation

Retrieve a credit currency

Draft scaffold — not implemented or available in the API.

Returns one credit currency, archived or not. {creditCurrency} takes the credit currency’s cc_ ID or its key.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

creditCurrencystringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

This endpoint is in the credits=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring
The CreditCurrency ID.
objectenum

The type of object. Always creditCurrency.

Allowed values:
createdAtdatetime
When the object was created.
archivedAtdatetime or null
When this resource was archived, or null.
conversionobject
CreditCurrencyConversion.
descriptionstring or null
What the resource represents.
displayNamestring or null<=250 characters

What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.

keystringformat: "^[a-z0-9_]{1,64}$"

Immutable account-wide denomination key; not an ISO currency code.

livemodeboolean

true for an object on a live account, false on a test account.

metadatamap from strings to strings

String key-value pairs of your own, up to 500 characters per value. Always updatable.

namestring1-255 characters
The resource name.
unfundedUsageenum
Behavior before the first grant.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error