Cancels pending payout requests that are associated with the cashier resource.
- To cancel all pending payout requests, omit the request body.
- To cancel payout requests based on a specific amount, include the amount in the request body. The oldest requests are canceled first until the specified amount is reached.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/storefront/cashiers/{id}/cancel-payout-requests
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/storefront/cashiers/{id}/cancel-payout-requests
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/storefront/cashiers/{id}/cancel-payout-requests
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/storefront/cashiers/{id}/cancel-payout-requests' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": 1500
}'Canceled all applicable pending cashier payout requests.
Unique identifier of the cashier resource.
ID of the customer resource.
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
URL to redirect the customer to when a deposit or withdrawal is completed. The default value is the website URL.
Bonus balance available to the customer.
URL where a server-to-server POST notification is sent. This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
Do not interpret this notification as a confirmation, complete a GET request to confirm the result of the transaction. To ensure the request is not reattempted, when the result is confirmed, respond with a 2xx HTTP status code.
The following placeholders are available to use in this URI: {id} and {result}. These placeholders are replaced the with the transaction ID and result accordingly.
Date and time at which the cashier expires. The default expiration time is one hour after the request is created.
Sum of all payout requests that are currently in a pending state. This value is also the maximum possible "reverse withdrawal" amount.
ID of the last deposit request that is made for this cashier.
JSON Web Token (JWT) for the cashier. This value is null if the associated deposit request is expired or completed.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "id": "cashier_0YV7DE4Z26DQSA1AC92FBJ7SEG", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "currency": "USD", "redirectUrl": "http://example.com", "balance": 1500, "bonusBalance": 0, "notificationUrl": "http://example.com", "expirationTime": "2019-08-24T14:15:22Z", "pendingPayoutTotal": 100, "canWithdraw": true, "lastDepositRequestId": "dep_req_01K2HMPNTBDS92TA6W4EX3VJPM", "cashierToken": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }