List withdrawal method catalog entries
Returns the platform-wide catalog of supported withdrawal method types. Each entry defines the machine-readable type key, a human-readable label, and a JSON schema describing the required details fields. Use this catalog to render the "add withdrawal method" form in merchant portals.
curl -X GET "https://api.miracle.com/v1/withdrawal-method-catalog"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "string",
"label": "string",
"description": "string",
"fieldSchema": {
"property1": null,
"property2": null
},
"status": "active",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
]
}Get withdrawal method catalog entry by type
Returns a single catalog entry by its machine-readable `type` key (e.g. "sepa_bank_transfer"). Use this when validating a saved method or when showing details of a specific method type.
Approve withdrawal
Operator action that moves a pending withdrawal to `approved`. The balance guard is enforced at approval time — the amount is reserved on the entity’s payable bucket atomically. Operators may supply a `fundingAccountId` or `withdrawalChannelId` to override routing.