POST
Beneficiary Delete
Delete a beneficiary that is no longer needed.
Request
merchantNoMerchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
801129beneficiaryIdBeneficiary ID to delete.
signRequest signature string. Generate it according to the Transfer request-signing rules with your merchant private key.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/beneficiary/remove' \
-H 'Content-Type: application/json' \
--data-raw '{
"beneficiaryId": 1899696430844878800,
"merchantNo": "800181",
"sign": "12312sdfadsf"
}'Response
respCodeResponse code returned by Onerway.
respMsgResponse message returned by Onerway.
data{ beneficiaryId, status }Deleted beneficiary result.
{
"respCode": "20000",
"respMsg": "Success",
"data": {
"beneficiaryId": 1899696430844878800,
"status": "DELETED"
}
}No error responses are documented for this endpoint.