Test mode only: end the current period now and run the renewal with a simulated card outcome (paid or failed)

post/api/v1/memberships/{id}/simulate-renewal

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/memberships/{id}/simulate-renewal
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

outcome'paid' | 'failed' required
idempotency_keystring required

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.