Mint a prepaid key with a Stripe Checkout link for a fixed top-up, or top up the key in Authorization: Bearer dck_…. The key is shown once. A human pays by card at checkoutUrl; the balance is credited when the payment completes and is spent by sending the key on paid calls. Balances neither expire nor are refunded. Not charged.

post/prepaid/checkout

Request

  • Base URL: https://app.difficat.com/api/v1
  • URL: https://app.difficat.com/api/v1/prepaid/checkout
  • Auth: none declared

Request body

amountUsdinteger required

One of the offered top-up amounts (x-service-info.x-prepaid.amountsUsd).

Response

Key and Checkout link

keystring

The new prepaid key (dck_…). Shown once, never recoverable; absent when an existing key is topped up.

keyIdstring required

Short public id of the key.

checkoutUrlstring uri required

Stripe Checkout, for a human.

amountUsdinteger required
checkoutExpiresAtstring date-time required

Changes

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