Payment Requests

Delete a Payment

DELETE
/v1/payments/requests/{requestId}

This API will allow you to delete one of the Payment request with a provided requestId if it exists.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

requestId*string

Spinwheel generated requestId of the payment request.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/payments/requests/12c9d6e8-c87b-415e-94e2-15367975218a"
{  "code": 200,  "desc": "success",  "messages": [    {      "desc": "Example description"    }  ]}