GatewayPay Documentation
    GatewayPay Documentation
    • GatewayPay API Documentation
    • Authentication
    • Callbacks
    • Testing
    • Domains and IP Addresses
    • Account
      • Get Account profile details
        GET
      • Get Account balances
        GET
      • Get Account payment options
        GET
    • H2H flow
      • Status List
      • Create Payment Invoice
        POST
      • Send Card Data to the Gateway
        POST
      • Full List of Payment Services
        GET
      • Get Service Data by ID
        GET
      • Check Status of Payment Invoice by ID
        GET
      • Get list of Payment Invoices
        GET
    • Refunds
      • Refund
        POST
    • Cards Whitelist API
      • JSON
        POST
      • CSV
        POST
    • APM - Deposits
      • Bank Transfers - Turkey
        POST
    • APM - Payouts
      • Bank Transfers - Turkey (Invoice Initiation)
        POST
      • Bank Transfers - Turkey (Invoice processing)
        POST

    Testing

    Always use test keys and test mode to test your API integration. In these circumstances, we can relate your test actions to the test account, and they have no impact on the balances.
    Do not use real card numbers for test payments, and do not pay live orders, because not every payment method supports test-mode transactions and such transactions may harm your account balance.

    Test Card Payments#

    To test card payments, you can use our Test connector and test card numbers. We also prepare a list of possible resolutions associated with an assigned expiry date.
    Card numberCVV2Expiry date3DSStatus code
    5123817234060000anydefined **yessuccess (processed)
    5519283812030000anydefined ***nosuccess (processed)
    4412397212080000anydefined ****yesfail (process_failed)
    4302912837020000anydefined ****nofail (process_failed)
    ** Use any valid expiry date except 0777 for successful processing. And use 0777 to receive status pending (resolution auth_3ds_required) on reconciliation.
    *** Use any valid expiry date except 0777 for successful processing. And use 0777 to receive status pending on reconciliation.
    **** Test different type of responses and Payment Retry function with 'unsuccessful' cards and relevant expiry date values:
    Expiry dateResolution
    0856access_denied
    0755error
    0654provider_error
    0553unknown
    0452duplicated_transaction
    0351auth_fatal_error
    0250unable_to_determine_3ds_enrolment
    0149card_is_3ds_enrolled
    1248card_is_not_3ds_enrolled
    1147issuer_decline
    1046client_auth_failed
    0945provider_fatal_error
    0844invalid_details
    0743invalid_pin
    0642antifraud_error
    0541invalid_card
    0440fatal_error
    0339unable_to_reconcile
    0238invalid_amount
    0137limit_violation
    1236functionality_is_not_permitted
    1135invalid_request
    1034lost_or_stolen_card
    0933declined
    0832invalid_otp
    0731invalid_3ds_code
    0630invalid_card_status
    0529insufficient_funds
    0428card_expired
    0327invalid_cvv
    0226invalid_pan
    0125invalid_credentials
    If testing, you specify for unsuccessful cards any other valid period, the expected resolution will be general_fatal_error.
    Modified at 2024-10-09 14:06:56
    Previous
    Callbacks
    Next
    Domains and IP Addresses
    Built with