cURL
curl --request GET \ --url https://api.togai.com/purchase_proposals/{purchase_proposal_id} \ --header 'Authorization: Bearer <token>'
{ "id": "purchase.1zYnCiM9Bpg.lv25y", "accountId": "G234DZZKBKACATFFGVGEMERFI", "pricePlanId": "pp.1zYnCiM9Bpg.lv25y", "quantity": 1, "idempotencyKey": "AAAAAABBBEEEDDSS23", "pricePlanVersion": 1, "purchasePlanOverrides": { "rateValues": [ { "CurrencyRateValue": { "currency": "USD", "rate": 10 } }, { "CurrencyRateValue": { "currency": "INR", "rate": 150 } } ], "entitlementRateCards": [ { "EntitlementRateCard": { "featureId": "feature.1zYnCiM9Bpg.lv25y", "featureCredits": 100, "expiryDurationSeconds": 1000 } } ] }, "createdAt": "2020-01-01T00:00:00Z", "updatedAt": "2020-01-01T00:00:00Z" }
Get proposal information
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
512
"purchase.20rqjgFJf2O.ejl25"
Response for getting a specific proposal
Represents a Purchase