Skip to main content
POST
/
payment
/
preauth
/
capture
Capture Payments in Bulk
curl --request POST \
  --url https://sandbox.flowwise.com/router/payment/preauth/capture \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '
{
  "start_date_time": "2024-12-01T00:00:00Z",
  "end_date_time": "2024-12-01T23:59:59Z"
}
'
{
  "total_payment_to_be_captured": 147,
  "start_date_time": "2024-12-01T00:00:00Z",
  "end_date_time": "2024-12-01T23:59:59Z"
}

Authorizations

x-client-id
string
header
required

Client app ID. You can find your app ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Body

application/json

Request parameters for bulk capture operation.

start_date_time
string<date-time>
required

Start date and time for the bulk capture operation.

Example:

"2024-12-01T00:00:00Z"

end_date_time
string<date-time>
required

End date and time for the bulk capture operation.

Example:

"2024-12-01T23:59:59Z"

Response

Success response for bulk capture.

total_payment_to_be_captured
integer

Total number of payments that will be captured.

Example:

147

start_date_time
string

Start date and time for the bulk capture operation.

Example:

"2024-12-01T00:00:00Z"

end_date_time
string

End date and time for the bulk capture operation.

Example:

"2024-12-01T23:59:59Z"