Payments Overview
Zentra’s current public payment surface is built around charge creation, verification, refunds, and stored payment tokens.Overview
POST /api/v1/payments/chargesGET /api/v1/payments/chargesGET /api/v1/payments/charges/:referencePOST /api/v1/payments/charges/:reference/verifyPOST /api/v1/payments/refundsGET /api/v1/payments/refunds/:referencePOST /api/v1/payments/tokens/cardPOST /api/v1/payments/tokens/bank-accountGET /api/v1/payments/customers/:customer_id/tokens
Payment Modes
customer_action_required: create a customer-present charge that the user completesmerchant_initiated: create a recurring or follow-on charge using a primed saved payment token
Recurring Flow
- tokenize the payment method
- create a setup charge with
capture_mode: customer_action_required - verify the successful charge so the reusable provider authorization can be bound to the token
- create later renewals with the same
payment_token_idandcapture_mode: merchant_initiated
Quick Links
Create Charge
Create a customer-present or recurring charge
Verify Charge
Confirm charge outcome and bind recurring reuse
Refunds
Return funds for a previous successful charge
Guide
End-to-end payment and recurring integration flow