Skip to main content
DELETE
/
beneficiaries
/
{beneficiary_id}
Delete a beneficiary
curl --request DELETE \
  --url https://prod-api.pcxpay.com/v1/beneficiaries/{beneficiary_id} \
  --header 'Authorization: <authorization>' \
  --header 'X-Api-Key: <x-api-key>'
{
  "message": "Beneficiary deleted successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Path Parameters

beneficiary_id
string
required

Response

Beneficiary deleted

message
string
Example:

"Beneficiary deleted successfully"