Path parameters
The numeric ID of the beneficiary payment method to delete.
curl -X DELETE 'https://api.yativo.com/api/v1/beneficiaries/payment-methods/delete/101' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"status_code": 200,
"message": "Payment method deleted successfully",
"data": null
}
Remove a saved payment method from a beneficiary
DELETE /beneficiaries/payment-methods/delete/{id}
curl -X DELETE 'https://api.yativo.com/api/v1/beneficiaries/payment-methods/delete/101' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"status_code": 200,
"message": "Payment method deleted successfully",
"data": null
}