Kontorion Billing API
objectstringstringstringstring[]string[]
string · requiredobjectstringbooleanbooleanstringstring[]string[]
A payment gateway configuration connects Kontorion to an external payment processor (Stripe, GoCardless, or other providers) for collecting payments from customers.
Each organization can have multiple gateway configurations - for example, Stripe for card payments and GoCardless for SEPA direct debits. One gateway is marked as the default.
Key concepts:
- Provider - the payment processor (
stripe,gocardless, etc.) - Mode -
liveortest- determines whether real charges are made - Supported currencies - which currencies this gateway can process
- Supported methods - which payment methods this gateway handles (card, direct_debit, etc.)
Create a payment gateway configuration
POST
https://api.kontorion.eu/v1
/payment-gateways
Creates a new payment gateway configuration for the organization
Create a payment gateway configuration › Request Body
config{ "api_key": "sk_...", "webhook_secret": "whsec_..." }
display_namemodeprovidersupported_currenciessupported_methodsCreate a payment gateway configuration › Responses
Created gateway config
object
Update a payment gateway configuration
PUT
https://api.kontorion.eu/v1
/payment-gateways/{id}
Updates an existing payment gateway configuration by ID
path Parameters
idGateway config UUID
Update a payment gateway configuration › Request Body
configdisplay_nameis_defaultis_enabledmodesupported_currenciessupported_methodsUpdate a payment gateway configuration › Responses
Update acknowledgement
object