Create bulk action
Create a bulk action on a list of items.
Request body
The object related to the bulk action.
The action to execute on the items included in the bulk action.
If target_action is payment_order, can be create, approve or cancel. If target_action is internal_account, can be create.
When set to true, if any item in items has an invalid payload, the bulk action will not be created. When set to false, the bulk action will be created and all items with valid payloads will be processed, whereas items with invalid payloads will be counted as failed. The default value is true.
Response
200
The bulk action ID.
Type of the object, bulk_action.
The object related to the bulk action.
The action to execute on the items included in the bulk action.
If target_action is payment_order, can be create, approve or cancel. If target_action is internal_account, can be create.
The status of the bulk action. Either created, processing, or executed.
The number of items included in the bulk action.
The number of items successfully processed.
The number of items that failed to be processed.
The UTC timestamp when the bulk actions was processed.
The UTC timestamp of the creation of the bulk action.
Example response
{
"object": "bulk_action",
"status": "created",
"total_items": 50,
"created_at": "2024-01-03T11:53:19.734182Z"
}