Credit Card

The following is an example of a creditcard request:

POST /v1/orders/ HTTP/1.1
Authorization: Basic aHVudGVyMjo=
Content-Type: application/json
    
{
  "currency": "EUR",
  "amount": 995,
  "merchant_order_id": "EXAMPLE001",
  "description": "Example creditcard order",
  "return_url": "https://www.example.com/",
  "webhook_url": "https://www.example.com/webhook/",
  "transactions": [
    {
      "payment_method": "credit-card"
    }
  ]
}

Currently the following brands are supported:

  • VISA
  • MasterCard
  • Maestro
  • V Pay
  • Diners/Discover

Merchant descriptor

A good descripion can help preventing chargebacks. It must be enabled but if so you can provide a specific description e.g. “Order 101”. Please contact us to have the merchant descriptor enabled.

POST /v1/orders/ HTTP/1.1
Authorization: Basic aHVudGVyMjo=
Content-Type: application/json
    
{
  "currency": "EUR",
  "amount": 995,
  "description": "Example creditcard order",
  "transactions": [
    {
      "payment_method": "credit-card",
      "payment_method_details": {
        "dynamic_descriptor": "Order 101"
      }
    }
  ]
}

Testing

Credit card can be tested with a project configured for testing. The following cards can be used.

Card type PAN number Expiration CVC/CVV Status
VISA #1 4035 8740 0042 4977 12/2025 977 Success
VISA #2 4000 0000 0000 0002 12/2025 002 Fails