Account

Get a credit purchase

While it's open, Stripe is asked too, so a paid checkout is completed and credited at once.

get/api/v1/checkout/{id}

Request

  • Base URL: https://audo.ai
  • URL: https://audo.ai/api/v1/checkout/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-audo.session_token

Path parameters

idstring required

Response

OK

idstring required
amountCentsinteger required

The price in US cents

creditsinteger required

The credits it adds

status'open' | 'completed' | 'expired' required
provider'stripe' | 'dev' required
processingboolean

Open, with a payment on its way that hasn't arrived yet (a bank debit, say)

runJobIdstring nullable

The whole-file job this purchase started, once paid

runErrorstring nullable

Why the purchase's run couldn't start (such as file_expired); the credits are kept

savedForstring nullable

Paid without signing in: the email the credits are kept for, masked

leftCentsinteger nullable

Paid without signing in, once its run is done: what the purchase left over, in US cents

Changes

No recorded changes to this operation across all 1 revision of this API.