Payers

Delete a Payer

DELETE
/v1/payments/payers/{payerId}

Should you or your customers want to remove a Payer, you can do so using this API. In your DELETE request, simply add the PayerId as a slug. Please note that when a Payer is deleted, we will keep a reference to it in order to maintain the integrity of the transaction history. A success response will contain a confirmation message with a reference to the deleted payer account.

Authorization

bearerAuth
AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Path Parameters

payerId*string

Payer Id received on adding payer account

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/payments/payers/097ac8fa-6b11-49c6-8889-6dec25f83f55"
{  "code": 200,  "desc": "success",  "messages": [    {      "desc": "Example description"    }  ]}