Initiate a purchase
This API let’s you to initiate a purchase for an account
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
account_id corresponding to an account
50
Body
Create a purchase for an account
Id of the price plan, Required for ENTITLEMENT_GRANT, ASSOCIATION purchase
entitlements override options for purchase of a price plan for an account
Information related to wallet topup purchase
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
ENTITLEMENT_GRANT
, ASSOCIATION
, WALLET_TOPUP
, PREPAID
Response
Represents a Purchase
1
Status of the purchase
SUCCESS
, FAILURE
, PENDING
, IN_PROGRESS
, PROPOSAL_ACTIVE
, PROPOSAL_APPROVED
, PROPOSAL_DECLINED
, PROPOSAL_EXPIRED
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
ENTITLEMENT_GRANT
, ASSOCIATION
, WALLET_TOPUP
, PREPAID
Id of the price plan, Required for ENTITLEMENT_GRANT, ASSOCIATION purchase
1
Information related to wallet topup purchase