Update merchant withdrawal method
Updates a saved withdrawal method. Only label and details may be changed — methodType and merchantId are immutable. Changing details resets the method to "cooling" and starts a new cooling period for fraud protection.
Authorization
bearer In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://api.miracle.com/v1/merchant-withdrawal-methods/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"livemode": true,
"merchantId": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b",
"methodType": "string",
"label": "string",
"details": {
"property1": "string",
"property2": "string"
},
"status": "cooling",
"activatesAt": "string",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
}Suspend merchant withdrawal method
Operator action that moves a method to "suspended", blocking new withdrawals until the operator reactivates it. Existing approved withdrawals continue to execute. Use when suspicious activity is detected or the merchant requests a temporary block.
List available payment methods
Returns payment methods available to the caller for the current checkout context. Two auth flows are supported: (1) client_secret — the session derives currency, merchant, and country; query params are ignored. (2) publishable_key — the `currency` query parameter is REQUIRED and the merchant is taken from the API key owner. Use this endpoint to render payment method selection in HPP or SDK flows.