Wallet
Wallet

Payment Webhook Handler

Credit tokens to a user's wallet from a completed payment (called by payment service).

post/api/v1/wallet/payment-webhook

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

X-API-Keystring nullable

Request body

payment_idstring required
statusstring required
amountnumber nullable
currencystring nullable
payment_methodstring nullable
payment_method_detailsobject nullable

Response

Successful Response

successboolean
tokens_creditedinteger nullable
batch_idstring nullable
balance_afterinteger nullable
messagestring nullable
idempotentboolean

Changes

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