credits

Redeem a code for credit, a discount, or both.

Send {"code": "JF-XXXX-XXXX-XXXX-XXXX"}. A code works once per account. Returns the entry it posted and the account's balance and rate after it; a discount applies to runs charged from then on, never to one already charged.

post/v1/credits/redeem

Request

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

Request body

codestring required

Response

Redeemed

Changes

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