cURL
curl --request DELETE \ --url https://api.pcxpay.com/v1/beneficiaries/{beneficiary_id}
{ "message": "Beneficiary deleted successfully" }
Permanently deletes a beneficiary. Ownership is verified via the X-User-Id header.
X-User-Id
ID of the authenticated user making the request. Used for ownership checks and to populate beneficiary_of on creation.
beneficiary_of
Beneficiary deleted
"Beneficiary deleted successfully"