Buy prepaid credit with x402 or MPP (see Paying a 402 in docs/API.md)
Without a payment, answers 402 with an x402 PAYMENT-REQUIRED header and MPP WWW-Authenticate: Payment challenges for amountCents. Retry with the payment (x402: PAYMENT-SIGNATURE; MPP: Authorization: Payment plus the key in X-API-Key) and the key is credited once. Credit pays for live sessions when the key has no card. Test keys can't buy credit.
post/api/credits
Request
- Base URL: https://api.askingahuman.com
- URL: https://api.askingahuman.com/api/credits
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Request body
Response
Credited
Changes
No recorded changes to this operation across all 1 revision of this API.