VE BankingDeveloper guide
API reference
Browse documentation

Accept a VPOS card payment

Submit card details from a PCI-appropriate server flow.

Create a payment

curlbash
curl --request POST "${API_URL}/v1/payments/vpos" \
  --header "content-type: application/json" \
  --header "x-api-key: ${VE_BANKING_API_KEY}" \
  --data '{
    "usdAmount": 24.00,
    "cardNumber": "4111111111111111",
    "expirationMonth": 12,
    "expirationYear": 2030,
    "cvv": "123",
    "cardHolderName": "CLIENTE PRUEBA",
    "cardHolderId": "V12345678",
    "accountType": 0,
    "cardType": 1,
    "externalRef": "order_demo_1043"
  }'

accountType accepts 0, 10, or 20. cardType accepts 1, 2, or 3. cardPin is optional and, when required by the payment service, must be four digits.