New status for the allocation. Use processing to move an allocation from pending to processing, which begins payment processing. Use canceled to stop the allocation before it is processed.
Updates the status of a payout request allocation with a specified ID.
Only the processing and canceled statuses can be set with this operation. The processing status transitions an allocation from pending when payment processing begins. The canceled status stops the allocation before it is processed.
The completed, waiting-completion and failed statuses are set automatically during transaction processing. Allocations are always created in the pending status.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/payout-request-allocations/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/payout-request-allocations/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/payout-request-allocations/{id}
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/payout-request-allocations/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"status": "processing"
}'Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Number of requests still available for this rate limit. For more information, see Rate limits.
| Enum Value | Description |
|---|---|
| all | |
| covered-payout | |
| approved-payment | |
| none |
Approved sales and captures, minus associated approved refunds and voids, and minus approved payouts, for the customer, gateway account, and payment instrument, in the allocation currency. The calculation includes only transactions created within the last 180 days. The value is 0 when there are no transactions in the last 180 days, the gateway account is inactive, or its readyToPayoutInstruction is none.
| Enum Value | Description |
|---|---|
| pending | |
| queued | |
| processing | |
| waiting-completion | |
| completed | |
| failed | |
| canceled | |
| declined |
{ "id": "pra_0YVDMDE2BMC6KBB5MX76RF6T80", "payoutRequestId": "pout_req_0YVDMDE2BMC6KBB5MX76RF6T80", "batchId": "prb_0YVDMDE2BMC6KBB5MX76RF6T80", "paymentInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "paymentMethod": "payment-card", "gatewayAccountId": "gateway_0YVB8KPKNXCBR9EDX7JHSED75N", "gatewayName": "TestProcessor", "gatewayPayoutInstruction": "covered-payout", "amount": 0.1, "exposureAmount": 2, "currency": "USD", "status": "pending", "transactionId": "txn_0YVB8KPKNXCBR9EDX7JHSED75N", "transactionResult": "abandoned", "transactionStatus": "completed", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }