Kontorion Billing API
string · enumstringstringstringstring · enumstringstring
Simulate payment outcomes in sandbox environments without connecting to real payment processors. Trigger specific scenarios - successful payments, failures, pending states, and disputes - to test your integration's handling of each case.
Combine with test clocks to simulate full lifecycle scenarios: create a subscription, advance time to generate an invoice, then simulate a payment failure to test your dunning flow.
Create a test payment simulation
POST
https://api.kontorion.eu/v1
/test-payment-simulations
Creates a new payment simulation for testing payment flows in sandbox mode
Create a test payment simulation › Request Body
outcomeEnum values:
success
decline
insufficient_funds
expired_card
fraud
processing_error
network_error
payment_method_idCreate a test payment simulation › Responses
Created simulation wrapped in data envelope
created_atidoutcomeEnum values:
success
decline
insufficient_funds
expired_card
fraud
processing_error
network_error
payment_method_idworkspace_id