GET
/
purchases
/
{purchase_id}

Authorizations

Authorization
string
header
required

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

Path Parameters

purchase_id
string
required
Maximum length: 50

Response

200 - application/json

Represents a Purchase

accountId
string
required
Minimum length: 1
createdAt
string
required
id
string
required
status
enum<string>
required

Status of the purchase

Available options:
SUCCESS,
FAILURE,
PENDING,
IN_PROGRESS,
PROPOSAL_ACTIVE,
PROPOSAL_APPROVED,
PROPOSAL_DECLINED,
PROPOSAL_EXPIRED
type
enum<string>
required

Specifies whether this purchase is for granting entitlements or for an association or for wallet topup or prepaid purchase. If left null, ENTITLEMENT_GRANT is taken as default

Available options:
ENTITLEMENT_GRANT,
ASSOCIATION,
WALLET_TOPUP,
PREPAID
associationOverride
object
comment
string
effectiveFrom
string
effectiveUntil
string
expiryDate
string
features
object[]
idempotencyKey
string
invoiceCurrency
string
invoiceId
string
price
number
pricePlanId
string

Id of the price plan, Required for ENTITLEMENT_GRANT, ASSOCIATION purchase

Minimum length: 1
pricePlanVersion
integer
purchasePlan
object
purchasePlanOverride
object