Palbase Payments · API
POST
/payments/intents/{intent_id}/captureCapture authorized payment
Captures a manual-capture PaymentIntent currently in requires_capture state (full or partial).
Called by your server, with the project's secret key.
Path
intent_idstring · requiredPaymentIntent UUID.Headers
Idempotency-Keystring · optionalUnique client-supplied idempotency key (1-255 chars) ensuring safe retries without duplicate charges, refunds, or ledger movements.Request body
amountinteger (int64) · optionalAmount to capture in minor units (0 = full authorized amount).curl
curl -X POST "https://<your-ref>.palbase.studio/payments/intents/<intent_id>/capture" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"amount":0}'Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation CaptureIntent of payments's contract.