Quote a credit pack
Prices one pack and says how it would be paid. When the account owner allowed purchases with the saved card in the app (Settings > Billing, up to a monthly limit), the key or connection belongs to the owner and the price fits the limits, the quote names the card and the purchase is charged at once; otherwise the purchase returns a payment link the user pays themselves and payment.saved_card.reason says why. Nothing is charged here. Show the quote to the person who pays and buy only after their yes. A quote holds for 24 hours; a saved-card purchase must follow within 15 minutes.
| Cost | What it does | Key scopes |
|---|---|---|
| Free | Reads only | argorant:manage_lists |
Request
- Base URL: https://app.argorant.com
- URL: https://app.argorant.com/api/v1/credits/quote
- Auth: HTTP bearer
Headers
Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.
Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.
Request body
Example request
{
"credits": 5000
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.