Wallet
Wallet

Update subscription payment method

Cancel current subscription and create a new one with updated payment method at cycle end

post/api/v1/wallet/subscription/update-payment-method

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Request body

subscription_idstring required

Current subscription ID

cancel_at_cycle_endboolean

Cancel at cycle end (recommended) or immediately

Response

Successful Response

successboolean required
messagestring required
dataobject nullable
errorstring nullable

Changes

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