PayStar API Documentation
    • Introduction
    • Glossary
    • Authorization key
    • Sandbox
    • Additional fields
    • Currencies
    • Bank names
    • Callbacks
    • Telecom operators
    • Payment history
    • Error descriptions
    • Tech FAQ
    • Events
    • Balance H2H
      GET
    • Deposit H2H - ECOM (with PCI) / P2P / Online
      POST
    • Deposit H2H - ECOM by Card token (without PCI)
      POST
    • Deposit H2C - ECOM (without PCI)
      POST
    • Deposit status H2H - PayStar ID
      GET
    • Deposit status H2H - Merch ID
      GET
    • Payout H2H
      POST
    • Payout status H2H - PayStar ID
      GET
    • Payout status H2H - Merch ID
      GET

    Additional fields

    INFO
    This section describes optional and context-specific fields that can be included in payment and payout requests. These fields allow for extended customization and support integration scenarios that require additional metadata or business logic parameters.
    AdditionalFields you can add in next methods:
    Deposit H2H - Card & P2P — hosted on the secure subdomain. Requires the merchant to have a PCI DSS certificate and allows direct card data transmission between servers (host-to-host).
    Deposit H2H - Token — hosted on the token subdomain. Enables recurring payments using previously obtained tokens.
    Deposit H2С - Card — hosted on the init subdomain. Does not require PCI DSS. Used to initiate a payment without card data; the user is then redirected to a web form to enter card details.
    Payout H2H — a server-to-server interaction method, similar to deposits.
    These fields may be used for both deposits and payouts.
    Different payment gateways integrated with PayStar may require different sets of additional fields. Some of these fields can also be used for validation or routing purposes. In other words, the exact set of required additional fields depends on the specific financial flow and cannot be predefined in this documentation.
    You have two options:
    Provide all available additional fields in your request;
    Contact your Account Manager to confirm which fields are required in your specific use case.
    CURL Example all additional fields
    curl --request POST \
      --url https://secure.PayStar.uk/api/v1/integration/deposit-order\ 
      --header 'Authorization: Bearer YOUR TOKEN' \
      --header 'Content-Type: application/json' \
      --header 'accept: text/plain' \
      --data '{
        "amount": 100, 
        "currency": "USD",
        "externalTransactionId": "Merch-bf95219b-393d-4323-91bf-639be",
        "additionalFields": [ 
            {
                "key": "type",
                "value": "card"
            },
            {
                "key": "productCode",
                "value": "Merch-12345" 
            }, 
            {
                "key": "phoneNumber",
                "value": "+44644012345"
            },
            {
                "key": "telecomOperator",
                "value": "vadafone" 
            }
        ]
    }
    
    DOWNLOAD
    Additional_fields.json - download the full list of Additional fields in a single JSON file.

    Payment method & card#

    FieldDescription with Example
    productCodeInternal product or service code, e.g. Merch-12345
    cardNumberFull card number PAN, e.g. 1234123412341234
    cardExpireMonthCard expiry month MM, e.g. 05
    cardExpireYearCard expiry year YY, e.g. 26
    cardCvvCVV or CVC code 3–4 digits, e.g. 583
    cardHolderName on the card, e.g. JOHN WEAK
    cardTokenTokenized card identifier for recurring or saved payments, e.g. a1b2c3d4e5f6g7h8

    Customer identity KYC#

    FieldDescription with Example
    firstNameCustomer’s first name
    middleNameCustomer’s middle name
    lastNameCustomer’s last name
    customerDocumentIdGovernment-issued ID number; add type if needed, e.g. Passport 123456789
    customerBirthdayDateDate of birth YYYY-MM-DD, e.g. 2019-04-05
    customerNationalityNationality ISO 3166-1 alpha-3, e.g. UKR

    Customer contact & address#

    FieldDescription with Example
    emailCustomer email address, e.g. john.wick@continental.com
    phoneNumberCustomer’s phone number, e.g. 44644012345
    telecomOperatorMobile network name used for telecom or mobile payments, e.g. vodafone or airtel
    dialingCodeInternational dialing code, e.g. 31
    customerAddressFull street address line 1; add line 2 if needed, e.g. 123 Main Street, Apt 5B
    customerCityCity or locality, e.g. Amsterdam
    customerStateState or region where applicable, e.g. CA or Île-de-France
    customerZipCodePostal or ZIP code local format, e.g. 1012 AB
    customerCountryCodeISO 3166-1 alpha-3 country code, e.g. NLD
    customerCountryFull country name if PSP expects name, e.g. Netherlands

    Bank & payment details#

    FieldDescription with Example
    beneficiaryNameFull legal name of account holder, e.g. John Smith or Natalia Ivanova
    bankNameBank name, e.g. Goldman Sachs
    bankAccountBeneficiary’s bank account number, e.g. 1234567890
    ibanInternational Bank Account Number, e.g. NL91ABNA0417164300
    bankCodeNational bank identifier country-specific, e.g. DE BLZ 37040044 or BR 237
    bankBranchBranch identifier or name local format, e.g. UK sort code 20-00-00 or Main Branch Mumbai
    ifcsCodeIndian bank IFSC 11-char code, e.g. HDFC0001234

    Crypto#

    FieldDescription with Example
    cryptoWalletAdressCustomer’s crypto wallet address; specify chain if needed, e.g. 0x12ab34cd56ef… Ethereum or TQ1x9… TRON

    Browser & 3DS context#

    FieldDescription with Example
    browserUserAgentFull browser User-Agent string, e.g. Mozilla/5.0 Windows NT 10.0; Win64; x64…
    browserAcceptHeaderHTTP Accept header from browser, e.g. text/html,application/xhtml+xml
    browserLanguageLanguage set in the browser, e.g. en-EN
    browserJavaEnabledIs Java enabled true/false, e.g. true
    browserJavascriptEnabledIs JavaScript enabled true/false, e.g. true
    browserColorDepthScreen color depth in bits, e.g. 24
    browserScreenWidthScreen width in pixels, e.g. 1920
    browserScreenHeightScreen height in pixels, e.g. 1080
    browserTZTimezone offset from UTC in minutes, e.g. -180
    browserChallengeWindowSize3DS challenge window size code: 01 = 250x400, 02 = 390x400, 03 = 500x600 example 03

    Merchant / store#

    FieldDescription with Example
    storeUrlMerchant’s website or checkout URL, e.g. https://merchant.example.com/

    Miscellaneous#

    FieldDescription with Example
    ipUser's IP address, e.g. 62.76.69.168
    payeerIdentifierPayer's ID on the merchant side, e.g. Merch-12345
    telecomOperatorMobile network name used for telecom/mobile payments, e.g. vodafone or airtel
    Previous
    Sandbox
    Next
    Currencies
    Built with