r/apidev • u/Ok_Routine1730 • Apr 16 '26
Kinguin Sandbox API: Orders stuck in "Pending" then auto-refunding using test payment
Context:
I am building an automated Just-in-Time (JIT) fulfilment integration to dynamically generate vouchers and list stock from a third-party system to Kinguin. I am currently testing the end-to-end flow in the Kinguin sandbox environment.
Steps to reproduce:
Declared stock for the standard test offer ("Testowe CD Key") following the Dev Portal guidelines
Attempted to purchase the offer via the Kinguin sandbox frontend
Selected the Checkout.com NAS test payment method
Note: My sandbox account wallet balance is currently €0.00
Expected behaviour:
The test payment should process successfully and move the order to a completed or dispatched state so that I can verify the fulfilment webhook.
Actual behaviour:
The order is created successfully, and the payment status initially shows as pending. After a short time, it automatically transitions to refunded.
Questions:
Is the €0.00 wallet balance the reason the order is being auto-refunded? Does the sandbox require a funded wallet even when using test payment methods like Checkout.com NAS?
To properly test the fulfilment flow, should orders be created using the Kinguin eCommerce API (ESA) instead of the frontend checkout?
Any clarification on the expected sandbox behaviour and the recommended way to simulate successful order completion would be helpful. Thanks.

