VE BankingDeveloper guide
API reference
Browse documentation

Make your first request

Connect a server, load the supported banks, and create a C2P payment intent.

Before you begin

  • Keep your API key on your server—never ship it in browser or mobile code.
  • Set API_URL to your deployed gateway origin.
  • Use test credentials and synthetic customer data outside production.

Step 01

Configure your environment

.envbash
API_URL=https://api.example.com
VE_BANKING_API_KEY=vk_test_replace_me

Step 02

Check the connection

curlbash
curl "${API_URL}/v1/banks" \
  --header "x-api-key: ${VE_BANKING_API_KEY}"
JavaScriptjavascript
const response = await fetch(
  `${process.env.API_URL}/v1/banks`,
  { headers: { 'x-api-key': process.env.VE_BANKING_API_KEY } }
);

if (!response.ok) throw new Error(`API error: ${response.status}`);
const banks = await response.json();

Step 03

Choose a payment flow

C2P is the recommended starting point for bank-authorized payments. Your application requests an intent, gathers the token from the customer, then executes the payment.