Card Payment
Card Payment
POST
/pay_indexInitiate a card payment transaction via `POST /pay_index`. Card payments are initiated through `create()`. **Card number, expiration date, and CVV are required**. The endpoint returns `PaymentResponse`:
SDK method
create()ParametersRequest body
pay_memberidstringrequiredSDK property:
payMemberid. Merchant IDpay_orderidstringrequiredSDK property:
payOrderid. Unique merchant order IDpay_applydatestringrequiredSDK property:
payApplydate. Order submission timestamppay_bankcodestringrequiredSDK property:
payBankcode. Payment bank code (card: typically `901`)pay_notifyurlstringrequiredSDK property:
payNotifyurl. Server-side webhook URL (POST)pay_callbackurlstringrequiredSDK property:
payCallbackurl. Customer redirect URL after payment (GET)pay_amountstringrequiredSDK property:
payAmount. Transaction amountpay_md5signstringrequiredsignSDK property:
payMd5Sign. MD5 signaturepay_currencystringrequiredSDK property:
payCurrency. ISO 4217 currency code (e.g. `USD`)pay_urlstringrequiredSDK property:
payUrl. Merchant website URLpay_methodstringrequiredSDK property:
payMethod. Payment method name (see payment methods reference)pay_cardnostringrequiredSDK property:
payCardno. Card number (PAN)pay_cardmonthstringrequiredSDK property:
payCardmonth. Expiration month (e.g. `12`)pay_cardyearstringrequiredSDK property:
payCardyear. Expiration year (e.g. `2027`)pay_cardcvvstringrequiredSDK property:
payCardcvv. CVVpay_firstnamestringrequiredSDK property:
payFirstname. Cardholder first namepay_lastnamestringrequiredSDK property:
payLastname. Cardholder last namepay_country_iso_code_2stringrequiredSDK property:
payCountryIsoCode2. Billing country (ISO 3166-1 alpha-2)pay_email_addressstringrequiredSDK property:
payEmailAddress. Billing emailpay_telephonestringrequiredSDK property:
payTelephone. Billing phonepay_ipstringrequiredSDK property:
payIp. Customer IP addresspay_useragentstringrequiredSDK property:
payUseragent. Browser User-Agentpay_typestringSDK property:
payType. Billing type (card payments do not use `apm`)pay_street_address1stringSDK property:
payStreetAddress1. Billing address line 1pay_street_address2stringSDK property:
payStreetAddress2. Billing address line 2pay_citystringSDK property:
payCity. Billing citypay_postcodestringSDK property:
payPostcode. Billing postal codepay_statestringSDK property:
payState. Billing state or provincepay_languagestringSDK property:
payLanguage. Preferred languagesystemstringE-commerce platform name
Response
**200**: Successful response — `PaymentResponse` via `getResult()`.