Api Checkout

post/v1/billing/checkout

Request

  • Base URL: https://www.polytranslator.com/api
  • URL: https://www.polytranslator.com/api/v1/billing/checkout
  • Auth: HTTP bearer

Request body

expected_user_idstring uuid nullable
pack_id'credits_300' | 'credits_1000' | 'credits_2000' | 'credits_5000' | 'credits_25000' required
idempotency_keystring uuid required
return_urlstring uri required

Response

Successful Response

purchase_idstring uuid required
statusstring required
checkout_urlstring nullable
creditsinteger required
price_centsinteger required
currencystring required
credits_grantedboolean required
payment_intent_idstring nullable
client_secretstring nullable
action_urlstring nullable
action_typestring nullable
failure_reasonstring nullable

Changes

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