Test Payment Data Learn how to do test payments

General Information

  • Test payment data will only work on our Sandbox (api.sandbox.payyo.ch)
  • If no test data is specified you can assume your own (eg. CVC for credit cards)

Card Payment

Number Scheme 3-D Secure Result
4242 4242 4242 4242 VISA
4242 4242 4242 4200 VISA
4111 1111 1111 1111 VISA Initialization fails. Error code depends on last 4 digits of transaction amount:
  • 1102 - Card CVC is invalid (default)
  • 1103 - Card data is invalid
  • 1104 - Card expired
  • 1105 - Invalid card number
  • 1107 - Card limit reached / Insufficient funds
4012 8888 8888 1881 VISA Authorizations fails with error code 1101 - Authorization was declined.
5454 5454 5454 5454 Mastercard
5454 5454 5454 5405 Mastercard
3434 343434 34343 American Express

Example

{
  ...
  "funding_instrument": {
    "type": "credit_card",
    "number": "4242424242424242",
    "expires": "2020-04",
    "cvc": "123",
    "holder": "John Doe"
  }
}

Testing the Vault

When integrating with our vault please use the following card data instead.

Number CVC Expiry Date Scheme 3-D Secure Result
4242 4242 4242 4242 123 12/2021 Visa
5200 0000 0000 0007 123 12/2021 Mastercard
5200 0000 0000 0080 123 12/2021 Mastercard

Direct Debit Payment

IBAN Result
DE17970000011234567890

Example

{
  ...
  "funding_instrument": {
    "type": "direct_debit",
    "holder": {
      "name": "John Doe",
      "iban": "DE17970000011234567890"
    },
    "bank": {
      "name": "Some Bank",
      "bic": "AAAAAAAA"
    }
  }
}