- Request a payout request split
Splits a payout request that is in pending, ready, or approved status into two or more separate requests.
Use this operation when the full amount cannot be processed due to amount restrictions, but a smaller amount can be processed. For example, if a payout request for $4,000 cannot be processed, but $3,000 can be processed, split the request into two. This allows you to approve and process $3,000 instead of blocking the entire request.
Provide an array of at least two amounts; one new payout request is created per amount. The sum of the amounts must equal the original payout request amount. Each new payout request is created in pending status. The original request transitions to the split status. This operation returns the newly created payout requests.
Payout request split parameters.
Amounts for each new payout request. One request is created per amount. Provide at least two amounts. Each amount must be greater than zero. The sum must equal the original payout request amount.
[ 50, 30, 20 ]
Reason for splitting the payout request.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/payout-requests/{id}/split
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/payout-requests/{id}/split
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/payout-requests/{id}/split
- SecretApiKey
- JWT
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/payout-requests/{id}/split' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"amounts": [
50,
30,
20
],
"splitReason": "payment-instrument-limit",
"splitDescription": "string"
}'Payout requests created by the split operation.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
ID of the customer who is requesting a payout.
ID of the requested payment instrument to offer for the payout.
ID of the payout request from which this request is split, or null if this request is not created by a split operation.
ID of the payout request that this request is merged into, or null if it is not merged into another request.
Available payout request amount that has not been allocated.
Status of the request.
| Enum Value | Description |
|---|---|
| pending | Request was created by the customer and is in a pending state for the configured pending period, unless it is marked as ready by a member of your organization. When automatic readiness is enabled, the payout request transitions to the |
| ready | Request was created by the customer and is ready for review. Depending on the configured |
| approved | Request was reviewed, approved, and is ready for processing. |
| in-progress | Request has allocations and is being processed. |
| fulfilled | Request is fully paid out. |
| canceled | Request is canceled by merchant or customer. |
| split | Request was split into two or more payout requests. |
| merged | Request was merged into another payout request. |
Specifies whether the payout request is blocked or unblocked.
When blocked, the payout request cannot transition to ready, approved, in-progress, merged, split, or canceled. Allocation creation, allocation processing, and cancellation of pending allocations are also prevented. A blocked payout request can still transition to the fulfilled status if allocation processing starts before the payout request is blocked.
Reason for blocking the payout request.
Reason for splitting the payout request.
ID of the payout request batch that contains this request.
URL for the customer to select a preferred payment instrument.
List of payout request allocations for the payout request.
URL where the customer is redirected when a payment instrument is selected. The default value is the website URL. Use {{id}} as a placeholder for the payout request ID.
Reason the payout request is canceled.
Date and time when the payout request is created.
Date and time when the payout request is updated.
[ { "id": "pout_req_0YVDMDE2BMC6KBB5MX76RF6T80", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "paymentInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "splitFromPayoutRequestId": "pout_req_0YVDMDE2BMC6KBB5MX76RF6T80", "mergedIntoPayoutRequestId": "pout_req_0YVDMDE2BMC6KBB5MX76RF6T80", "currency": "USD", "amount": 0.1, "availableAmount": 0.1, "description": "string", "status": "pending", "blocked": false, "blockReason": "fraud-suspected", "splitReason": "payment-instrument-limit", "batchId": "preq_batch_0YVDMDE2BMC6KBB5MX76RF6T80", "selectPaymentInstrumentUrl": "http://example.com", "allocations": [ … ], "selectedPaymentInstrumentRedirectUrl": "https://example.com/payout-request-success", "cancellationReason": { … }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ] } ]