Propose a purchase of a plan
This API let’s you to create a proposal of a billing/entitlement plan 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
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
PREPAID
, POSTPAID
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
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
PREPAID
, POSTPAID
Id of the price plan, Required for ENTITLEMENT_GRANT, ASSOCIATION purchase
1
Information related to wallet topup purchase