- Update a payout request batch
Partially updates a payout request batch with a specified ID. Use this operation to update the description and allocation order.
Fields for updating the payout request batch. At least one property must be present. Do not set description or allocationOrder to null.
Description of the batch. Omit this property when not updating the description. Do not send null; use a string value when this property is present.
Order for auto-allocation of payout requests in this batch. When set, this field overrides the organization-level allocation order during batch auto-allocation. Must contain selected-payment-instrument exactly once. Valid values: payment-card (payment cards), alternative-payment-methods (catch-all for alternative payment methods), selected-payment-instrument (customer-requested instrument), or any payment method API name (for example, paypal, Interac-eTransfer). Omit this property when not updating the allocation order. Do not send null; use an array value when this property is present.
[ "paypal", "Interac-eTransfer", "payment-card", "alternative-payment-methods", "selected-payment-instrument" ]
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/payout-request-batches/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/payout-request-batches/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/payout-request-batches/{id}
- SecretApiKey
- JWT
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/payout-request-batches/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"description": "string",
"allocationOrder": [
"paypal",
"Interac-eTransfer",
"payment-card",
"alternative-payment-methods",
"selected-payment-instrument"
]
}'Payout request batch updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the user who created the batch.
Optional description of the batch.
Order for auto-allocation of payout requests in this batch. When set, this field overrides the organization-level allocation order during batch auto-allocation. Must contain selected-payment-instrument exactly once. Valid values: payment-card (payment cards), alternative-payment-methods (catch-all for alternative payment methods), selected-payment-instrument (customer-requested instrument), or any payment method API name (for example, paypal, Interac-eTransfer).
[ "paypal", "Interac-eTransfer", "payment-card", "alternative-payment-methods", "selected-payment-instrument" ]
{ "id": "preq_batch_0YVDMDE2BMC6KBB5MX76RF6T80", "userId": "usr_0YVCEENYJ3D7Q9EN6BN16HA0G4", "totalCount": 10, "customerCount": 3, "totalAmountByCurrency": [ { … } ], "description": "Batch processed on 2024-01-15", "allocationOrder": [ "paypal", "Interac-eTransfer", "payment-card", "alternative-payment-methods", "selected-payment-instrument" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }