Development & Testing

Test Environment

SportsPay provides a test environment for validating integrations and transaction flows. Test transactions do not reach the card networks.

To request test credentials, email [email protected]

Gateways

Use your test credentials with the following gateway endpoints.

Production Gateways (Recommended for Final Testing)

https://svra.interpaypos.com:1443/ https://svrb.interpaypos.com:1443/

These gateways support test credentials and most closely match live behavior.

Test Gateway (Pre-Production)

https://testgate.interpaypos.com/api/

This gateway is used to deploy and validate new features before they are released to production. It may change without notice. Use this for early testing only.

Your First Test Transaction

Once you have test credentials, you can run a Customized Checkout StartSession from the command line to confirm connectivity. All examples below use {gateway_endpoint}/ as a placeholder — replace it with one of the full gateway endpoints listed above.

curl --request POST \
  --url {gateway_endpoint}/ \
  --header 'Content-Type: application/json' \
  --data '{
    "TERMID":     "your_test_termid",
    "PASS":       "your_test_pass",
    "TYPE":       "W",
    "ACTION":     "StartSession",
    "AMT":        "125.00",
    "CUSTEMAIL":  "[email protected]",
    "REQUESTID":  "test-0001",
    "JSON":       "Y"
  }'

A successful response returns CODE=0000 and a URL you can open in a browser to complete the test payment with a test card (see below).

Test Card Numbers

Test terminals do not send card data to the networks.

You may use any valid-format Visa, Mastercard, American Express, or Discover number, or the examples below.

  • Expiry date: any future date
  • CVV: any value
Card TypeCard Number
Visa4000000000000002
Visa4003000123456781
Mastercard5121212121212124
Mastercard5454545454545454
American Express378282246310005
American Express371449635398431
Discover6011000000000004
Discover6011000995500000

Test Decline Scenarios

Use the values below to force specific decline responses.

Test ConditionCodeMessage
Amount ends in 1 (e.g. 20.01, 20.11)0001DECLINED TEST
Card expiry month is 04 (e.g. 04/30)9205DECLINED TEST

Testing Embedded Components

EMBED= flags work identically in test and production. To test an Embedded Components integration, include EMBED= on your test StartSession call and load the returned URL in an iframe on your own page just as you would in production. See Steps for Embedded Components for the full flow.

Transaction Reporting (PaymentsHQ)

SportsPay provides access to PaymentsHQ for reporting and reconciliation.

Partner Login

  • View the Gateway Log
  • See all transactions across merchants

Test Merchant Login

  • View the merchant experience
  • Validate fields such as INV for transaction grouping