Arm the next subscription collection outcome
Configures a one-shot outcome for the next automatic collection attempt on an owned test-mode subscription. The next newly recorded charge attempt consumes the scenario. A retry of that same attempt observes the same result, while a later retry requires a new scenario.
Arm a decline before advancing to a renewal or retry boundary. After Ionic records the failed attempt and schedules the next retry, arm a success and advance to that retry time to verify recovery. Platforms can use the resulting Ionic objects and events to verify access control, notifications, reporting, and connected-account isolation.
Only one unconsumed scenario may exist for a subscription. When no scenario is armed, automatic collection follows the normal test-mode collection path.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique key used to replay this mutation safely.
1 - 255Connected Ionic account to operate when using an authorized platform credential. Omit when using the account's own credential.
Path Parameters
Subscription whose next automatic collection attempt will consume the scenario.
^sub_[0-9A-Za-z]{24}$Body
succeeded, declined Required for a declined outcome and omitted for a successful outcome.
insufficient_funds, card_velocity_exceeded, withdrawal_count_limit, do_not_honor, generic_decline, transaction_not_permitted, expired_card, incorrect_number, incorrect_cvc, duplicate_transaction, stolen_card, lost_card, fraudulent, pickup_card, restricted_card, security_violation, processing_error, issuer_not_available, try_again_later, processor_declined Response
The armed one-shot collection scenario.
subscription.collection_scenario ^mer_[0-9A-Za-z]{14}$^sub_[0-9A-Za-z]{24}$false succeeded, declined 
