ASA

Store a payment source value on the active subscription

Stores next_payment_source on the active subscription and returns the updated subscription. Nothing is charged and the current period is unaffected. The stored value is informational: no renewal runs on the subscription, and an extension uses the payment_source given to POST /v1/asa/extend.

patch/v1/asa/subscription

Request

  • Base URL: https://api.decision-anchor.com
  • URL: https://api.decision-anchor.com/v1/asa/subscription
  • Auth: HTTP bearer

Request body

next_payment_source'external' | 'earned' nullable

Stored on the subscription and returned by GET /v1/asa/subscription. No operation uses it: automatic renewal is retired, and POST /v1/asa/extend is paid with the payment_source sent in its own request body. Send null (or omit) to clear the stored value.

Response

Updated subscription: same shape as GET /v1/asa/subscription, with next_payment_source reflecting the new value

Changes

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