Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Creates allocations for a payout request using automatically selected payment instruments and gateway accounts. Only the payout request ID is required.
When an allocation is created, the payout request transitions to the in-progress status, and the allocation starts in the pending status. The allocation transitions to the processing status when payment processing begins. This operation returns the created allocations.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/payout-request-auto-allocations
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/payout-request-auto-allocations
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/payout-request-auto-allocations
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/payout-request-auto-allocations \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"payoutRequestId": "pout_req_0YVDMDE2BMC6KBB5MX76RF6T80"
}'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": [ … ] } ]