SparkPay OpenAPI Docs
English
  • English
  • 简体中文
English
  • English
  • 简体中文
  1. Frequently Asked Questions
  • Product Introduction
  • Quick Guide
    • Integration Preparation
    • Interface Signature Description
  • Must-Read for Integration
    • Interface Rules
    • Asynchronous Notification
    • Interface Error Codes
    • Network and Currency
  • Integration Scenarios
    • Payment
    • Close Order
  • API List
    • Payment Order Creation
      POST
    • Payment Order Query
      GET
    • Payment Order Closure
      POST
    • Payment Order Creation(Pro Edition)
      POST
    • Payment Order Query(Pro Edition)
      GET
  • Frequently Asked Questions
    • Notification Related Issues
    • Redirect Failure Issues
    • Interface Error Issues
    • Test Token Acquisition/Test Network Connection
  • Integration Example
    • Interface Signature Example - PHP
    • Interface Signature Example - Postman
  • Version Notes
    • Version Notes
  1. Frequently Asked Questions

Test Token Acquisition/Test Network Connection

Test Token Acquisition#

Merchants need to use their wallet balance for payments. If there's no available balance in the wallet, you can obtain
test tokens through the following methods.
NetworkToken NameContract AddressDecimalsCollection Method
Amoy(Polygon Testnet)POLMain Token, No Contract Address18Available via testnet faucet
Amoy(Polygon Testnet)Mock USDT0x2fD5885cC4bbbC06c883CA6673434ddDf43919436Contact SparkPay customer service
Amoy(Polygon Testnet)Mock USDC0x0cceE084D98d759077b86D27D732A544f7A2f2696Contact SparkPay customer service
Holesky(Ethereum Testnet)ETHMain Token, No Contract Address18Available via testnet faucet
Holesky(Ethereum Testnet)Mock USDT0xeB5Def9BEc14a1CFf3525E905C98b30CDdADDAda6Contact SparkPay customer service
Holesky(Ethereum Testnet)Mock USDC0x119ef140F63D600bEC0D24f8BaF27276c33cB6C06Contact SparkPay customer service
Nyancat(Irishub Testnet)IRIS(ERC-20)0x1D1530e3A3719BE0BEe1abba5016Cf2e236f32776Contact SparkPay customer service
Bsc TestnetBNBMain Token, No Contract Address18Available via testnet faucet
Bsc TestnetMock USDT0xe902Bdc83B973682c72785Ec343720BFf80BBe9718Contact SparkPay customer service
Bsc TestnetMock USDC0xc459A7c9CfE80c36c491317A7a66e6eA09F214dA18Contact SparkPay customer service
Note: Native tokens for all test networks can be obtained through testnet faucets.

Testnet Connection#

When merchants are testing and integrating in the test environment, it is recommended to use metamask for payments.
Before making payments with metamask, you need to connect to the testnet first.
There are 2 ways to connect to the testnet (first method is recommended):
1.
Auto-add through checkout payment connection: Open the checkout payment link, select walletconnect to connect wallet,
scan the QR code with metamask to connect, and the testnet network will be added automatically.
2.
Manual addition: Open metamask, Settings -> Networks -> Add Network -> Add Manually
When using manual addition, the testnet connection configurations are as follows:
Networkrpc_urlchain_idcurrency_symbolexplorer_url
Amoy(Polygon Testnet)https://polygon-amoy-bor-rpc.publicnode.com80002POLhttps://amoy.polygonscan.com
Holesky(Ethereum Testnet)https://holesky.drpc.org17000ETHhttps://holesky.etherscan.io
Nyancat(Irishub Testnet)https://evmrpc.nyancat.irisnet.org16688ERIShttps://nyancat.irisscan.io
Bsc Testnethttps://bsc-testnet.drpc.org97BNBhttps://testnet.bscscan.com
Modified at 2025-05-06 09:32:43
Previous
Interface Error Issues
Next
Interface Signature Example - PHP
Built with