To create a bank account in Sandbox you can use the fake account details from the example request body on the right.
You can also create a fake bank account with your own preferred details. However, bank accounts in sandbox must follow the basic bank account rules from the real world for a particular country.
Follow these guidelines to create your own fake bank account in sandbox:
- The bank account currency must be supported by Coinify. You can retrieve this info by calling the Payment Methods endpoint.
- The Bank SWIFT/BIC code must contain a valid country code on the 5th and 6th character of the code itself, e.g
XXXXDKXX
and the valid length is 8 or 11 chars. - IBAN account number should start with a valid 2-letter country code. The IBAN country code must match the country code from which the bank’s SWIFT/BIC code originates. E.g. if the bank’s BIC code is from Denmark, the IBAN should start with
DK
. - The IBAN must be from a Coinify supported country. See Supported Countries list.
- The IBAN account number must have a length which is valid for the specific country.
Find valid bank account examples for any country:
You can look up the SWIFT/BIC bank codes and IBAN basic structure examples for any specific country here - scroll to IBAN examples by country section.