Captures the payment of an existing, previously uncaptured (pre-authorized) charge. The captured amount can be less than or equal to the authorized amount.
Authentication β HTTP Basic Auth
All v2.0 endpoints use HTTP Basic Authentication. Set Authorization: Basic base64(username:password). Contact PayFacto for credentials.
Environment Base URLs
UAT: https://uat.ca.api.payfacto.cloud/payments/v1 | Production: https://ca.api.payfacto.cloud/payments/v1
Content-Type
All request bodies require Content-Type: application/json.
Idempotency
Include Idempotency-Key header (max 64 chars) on POST requests. 200 = duplicate; 201 = newly created.
Amounts
All monetary amounts are positive integers in cents. $12.99 = 1299.
Path parameter
Request body fields
The charge must have been created with capture: false.
Returns the updated charge object. Verify status is CAPTURED.
Response fields (charge object)