Collecting raw card data

Find out how to make payments using raw card data.


What is PCI certification?

PCI Level 1 and 2 certification means you meet requirements for processing, storing, and transmitting credit card data.

You can read more about it on our blog.

If you are PCI Level 1 or Level 2 certified you can use raw card data to  make a payment.

To submit raw card data you will need to build your own payment form. Our JavaScript Components do not support collecting or transmitting raw card data.

Before you start submitting raw card data, contact our Support Team as they will need to configure your Adyen account.

Then, to submit raw card data:

  • Make a /payments call, providing:
    • paymentMethod.type: scheme
    • numberThe card number (do not use separators).
    • expiryMonthThe card expiry month.
    • expiryYearThe card expiry year.
    • cvcThe card verification code.
    • holderName: The card holder's name. This is optional.
    {
      "amount": {
        "currency": "EUR",
        "value": 1000
      },
      "reference": "Your order number",
      "paymentMethod": {
        "type": "scheme",
        "number": "4111111111111111",
        "expiryMonth": "08",
        "expiryYear": "2018",
        "cvc": "737"
      },
      "returnUrl": "https://your-company.com/checkout/",
      "merchantAccount": "YourMerchantAccount"
    }

If the payment is successful you receive:

  • pspReference: Our unique identifier for the transaction.

  • resultCode: AuthorisedYou can present this result to the shopper.

To find out about the other resultCodes you can receive and how you can action these, see Result codes.

See also