01.software Docs

membershipRecoveryCharge

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
POST
/api/memberships/recovery/charge

Requires an sk01_ key with membership read scope and no Origin header. Reads only existing same-tenant recovery evidence; never prepares a charge or writes custody. DTOs exclude payment-method references, custody and stored PSP values. A discovered console_managed generation returns 409 conflict without recovery evidence.

Authorization

serverSecretKey
headerAuthorizationBearer <token>

Public integration credential: opaque sk01_ secret API key only; PAT and Customer JWT are not supported by this scheme. Requires tenant binding and the read or write scope named by the operation.

Request Body

application/json
  1. body
idempotencyKey*string
Length1 <= length <= 512

Response Body

Successful operation

application/json
  1. response
charge*|null

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X POST 'https://api.01.software/api/memberships/recovery/charge' \  -H 'Content-Type: application/json' \  -d '{  "idempotencyKey": "string"}'
Example Response
{  "charge": {    "membershipId": "string",    "amount": 0,    "periodStart": "string",    "periodEnd": "string"  }}