cURL
curl --request GET \ --url https://api.togai.com/accounts/{account_id}/purchase_proposals \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "purchase.1zYnCiM9Bpg.lv25y", "pricePlanId": "pp.20dINmd0lBg.05sKa", "pricePlanName": "Advanced Tier", "type": "ASSOCIATION", "status": "PROPOSAL_ACTIVE", "paymentMode": "PREPAID", "pricePlanVersion": 2, "createdAt": "2020-01-01T00:00:00Z", "updatedAt": "2020-01-01T00:00:00Z" } ] }
List all proposals of an account
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
account_id corresponding to an account
50
"ACC00001"
Response for list proposals of an account request
Show child attributes
Status of the purchase
SUCCESS
FAILURE
PENDING
IN_PROGRESS
PROPOSAL_ACTIVE
PROPOSAL_APPROVED
PROPOSAL_DECLINED
PROPOSAL_EXPIRED
PREPAID
POSTPAID
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
Information related to wallet topup purchase
Specifies the value to be topped up in the wallet
Specifies the amount to be paid to top up wallet with the specified top up amount. If left null, purchase amount will be same as top up amount
ASC
DESC