Skip to main content
This endpoint captures the reserved funds of a pre-authorized payment. You can confirm the full reserved amount or a partial amount less than or equal to the original pre-authorization.
If you specify an amount lower than the original pre-authorized amount, only that partial amount is captured and the remaining funds are released back to the customer.
curl -X POST 'https://developers.flouci.com/api/v2/confirm_payment' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <PUBLIC_KEY>:<PRIVATE_KEY>' \
  -d '{
    "payment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "amount": "8500"
  }'

Body

payment_id
string
required
The ID of the pre-authorized payment to confirm.
amount
string
The amount in millimes to capture. Must be less than or equal to the original pre-authorized amount. If omitted, the full pre-authorized amount is captured.
{
  "result": {
    "payment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "status": "confirmed",
    "amount": "8500",
    "confirmed_at": "2025-01-15T10:30:00Z"
  },
  "status": "success"
}