vermilion
reference

API reference

Base URL: https://sandbox.api.vermil.dev (sandbox) · https://api.vermil.dev (live). All endpoints require bearer authentication; mutating endpoints require an Idempotency-Key. The machine-readable spec is at /openapi.json — import it into Postman, Bruno or your generator of choice.

Payments

POST/v1/paymentsCreate a payment (idempotent; routes + falls back automatically)
GET/v1/payments/:idRetrieve a payment with its attempt timeline
GET/v1/paymentsSearch payments (status, created range, cursor pagination)
POST/v1/payments/:id/captureCapture an authorized payment (partial allowed)
POST/v1/payments/:id/voidCancel an authorized, uncaptured payment
POST/v1/payments/:id/refundsRefund a captured payment (partial or remaining)

Customers & payment methods

POST/v1/customersCreate a customer
GET/v1/customersList customers
POST/v1/payment_methodsTokenize a payment method at every eligible PSP
GET/v1/payment_methodsList stored payment methods (filter by customer_id)
DELETE/v1/payment_methods/:idRevoke a token

Routing

POST/v1/routing_rulesCreate a rule (conditions + PSP chain)
GET/v1/routing_rulesList rules by priority
PATCH/v1/routing_rules/:idUpdate a rule
DELETE/v1/routing_rules/:idDelete a rule
GET/v1/psp_connectionsList PSP connections with health
PATCH/v1/psp_connections/:idEnable / disable a connection

Webhooks

POST/v1/webhook_endpointsRegister an endpoint (secret returned once)
GET/v1/webhook_endpointsList endpoints
GET/v1/webhook_deliveriesDelivery log (filter by status)
POST/v1/webhook_deliveries/:id/retryRe-drive a delivery