credits

Start a top-up and get a hosted checkout URL.

Send {"amount": 25.00}, in US dollars. Returns url, which the caller opens to pay. Nothing is added here: the balance moves only when the processor's signed webhook arrives, so poll GET /v1/credits afterwards.

post/v1/credits/checkout

Request

  • Base URL: https://api.japanfold.aiand.com
  • URL: https://api.japanfold.aiand.com/v1/credits/checkout
  • Auth: one of:
    • none
    • HTTP bearer

Request body

amountnumber required

Response

Checkout session

Changes

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