API reference and playgroundBeneficiaries
Delete a beneficiary
curl -X DELETE "https://test-api.kashier.io/v2/parties/string?type=beneficiary"{ "body": { "_id": "67ba05fd87c9970012389429", "type": "beneficiary", "name": "Jhon Doe", "customerId": "B-1740244477202", "merchantId": "MID-XXXXX-XXX" }, "message": "Customer deleted successfully"}Deletes a saved beneficiary. The response echoes back only the identifying fields of the record that was removed.
Authorization
secretKey Authorization<token>
Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Path Parameters
id*string
The beneficiary's _id.
Query Parameters
type*"beneficiary"
Must be beneficiary.
Value in
- "beneficiary"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json