POST
Beneficiary Delete
Delete a beneficiary that is no longer needed.
Request
merchantNoMerchant number of the request initiator.
Example:
800699onBehalfOfMerchant number that the request is for. Include only when making a request on behalf of another merchant.
beneficiaryIdOnerway beneficiary ID.
Constraints
- Rule
- ID of the beneficiary to delete. It must belong to the operating merchant. Deletion is rejected while related payouts remain in statuses that block deletion.
signRequest signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/beneficiary/remove' \
-H 'Content-Type: application/json' \
--data-raw '{
"beneficiaryId": "1984102812163112960",
"merchantNo": "800699",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ beneficiaryId, status }Deleted beneficiary result.
{
"respCode": "20000",
"respMsg": null,
"data": {
"beneficiaryId": "1984102812163112960",
"status": "deleted"
}
}No error responses are documented for this endpoint.