cURL
curl --request POST \ --url https://rest.staging.nickel.com/billPayment/{billPaymentId}/cancel \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "status": "<string>", "amountInCents": 123, "createdAt": 123, "vendorPayoutMethodId": "<string>", "billPayableId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the bill payment to cancel
Successful operation