Testing SEPA Secure deposits
Testing SEPA Secure deposits on Demo environment
You can test deposits in the Demo Environment.
Testing with a deposit simulation API
The Demo Environment provides and API to simulate a deposit. This API should be used as a helper during development. It allows to quickly receive a callback about a deposit.
This is the prefferred testing option.
Testing the whole user flow
This is a longer flow that should be used only if you want to test the entire user flow with manual KYC pass.
Testing flow
For a new customer:
Create an invoice
Go through usual flow including SumSub KYC
Make sure to input proper KYC data, that matches with the proof of address
Use the attached passport and proof of address photos (it is possible to use other test or real data too)
Wait till the KYC is passed
Make a POST request to /customer/{id}/bank-transfer/simulate
See example of the curl request
Wait for a callback (may be delayed for some minutes)
For an existing customer with FULL_USER status (KYC is passed successfully):
Create an invoice (optional)
Make a POST request to /customer/{id}/bank-transfer/simulate
See example of the curl request
Wait for a callback (may be delayed for some minutes)
Example of the POST call that should be made to simulate a deposit.
This API endpoint is only available on the sandbox environment and can not be used in production.
curl --location 'https://api.demo.xgateway.tech/api/v2/customer/test-prod202517/bank-transfer/simulate' \
--header 'Accept: application/json' \
--header 'x-api-key: ae304c01-f2fb-4d7f-aed6-0843b235ce9b' \
--header 'Content-Type: application/json' \
--data '{
"amount": "100",
"currency": "EUR"
}'If you can not pass KYC, check the following:
Do not rename the files you upload.
Do not change their content (example, compression by messengers will break the files).
Sandbox KYC flow checks file name <> file hash match, not real data check.
Check that you correctly input the name and other data from the documents.
Test data
Examples of KYC data can be found on the SumSub documentation page.
Last updated