Voids an unbatched captured charge. The charge must be captured but not yet included in a settled batch.
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.
If the batch has already closed, use POST /refunds instead.
Path parameter
Request body fields
reason values
Response fields (charge object)