PayoutMethod-Delete-v6: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{PageTitle|title=Barion API: DELETE v6/recipients/{recipientid}/payout-methods/{payoutmethodid} }} {{TableOfContents}} {{api_callmethod |method=DELETE |uri=/v6/recipients/{recipientid}/payout-methods/{payoutmethodid} }} This API endpoint deletes an existing payout method from a recipient. Prerequisites before use: * Creating an account in Barion * Calling the Barion API == Authentication == Barion Wallet Authentication..." |
|||
| Line 16: | Line 16: | ||
== Input properties == | == Input properties == | ||
{{api_input_table_header}} | {{api_input_table_header}} | ||
|- | |||
| Idempotency-Key || GUID || | |||
* Optional | |||
|| Idempotency key used to safely retry requests without duplicating operations. Passed in the request header. See [[Idempotency-Key]]. | |||
|- | |- | ||
| recipientid || String || | | recipientid || String || | ||
Latest revision as of 07:33, 9 June 2026
Barion API: DELETE v6/recipients/{recipientid}/payout-methods/{payoutmethodid}
| DELETE | /v6/recipients/{recipientid}/payout-methods/{payoutmethodid} |
|---|
This API endpoint deletes an existing payout method from a recipient.
Prerequisites before use:
Authentication
Input properties
| Property name | Property type | Limitations and constraints | Description |
|---|---|---|---|
| Idempotency-Key | GUID |
|
Idempotency key used to safely retry requests without duplicating operations. Passed in the request header. See Idempotency-Key. |
| recipientid | String |
|
ID of an existing recipient. Passed as a path parameter. |
| payoutmethodid | String |
|
ID of an existing payout method owned by the recipient. Passed as a path parameter. |
Output properties
HTTP status code: 204 No Content
The response body is empty.
To find out which errors this endpoint can produce, visit the Calling the API – Handling the response page. Note that this endpoint uses camelCase field names in error responses.
Possible error messages
| Condition | ErrorCode | HTTP status code |
|---|---|---|
| Authentication fails | 401 | |
| Referenced recipient is not connected to the opened wallet | RecipientForbidden |
403 |
| Referenced payout method is not connected to the recipient | PayoutMethodForbidden |
403 |
| Recipient not found | RecipientNotFound |
404 |
| Payout method does not exist | PayoutMethodNotFound |
404 |