v1

latestOpenAPI 3.0.3Apache 2.02026-07-13121230447.8 KB
Accounts

Get a specific purchase of an account

Get purchase information of an account for a specific plan using account_id and price_plan_id

get/purchases/{purchase_id}

Path parameters

purchase_idstring required
Example:purchase.1zYnCiM9Bpg.lv25y

Response

Response for getting a specific purchase detail of an account

idstring required
accountIdstring required
pricePlanIdstring

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

quantityinteger
rateCardQuantitiesobject
idempotencyKeystring
pricePlanVersioninteger
createdAtstring date-time required
updatedAtstring date-time
effectiveFromstring date
effectiveUntilstring date
expiryDatestring date-time
pricenumber
invoiceIdstring
invoiceCurrencystring
status'SUCCESS' | 'FAILURE' | 'PENDING' | 'IN_PROGRESS' | 'PROPOSAL_ACTIVE' | 'PROPOSAL_APPROVED' | 'PROPOSAL_DECLINED' | 'PROPOSAL_EXPIRED' required

Status of the purchase

type'ENTITLEMENT_GRANT' | 'ASSOCIATION' | 'WALLET_TOPUP' | 'PREPAID' 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

commentstring