🎓Restful Api Interface

The restfil api system of tonspay

What can restful api do ?

The restful api interface will provide functions for merchant to :

  • Manage payment method

    • New payment method

    • Del payment method

  • Mange invoices

    • Invoices generator

    • Invoices close

    • Invoices callback

  • Manage cash-gift

    • Cashgift generator

Base informations

Production Base url

https://api.tonspay.top/
https://wallet.tonspay.top/api

Testnet Base url

https://test.tonspay.top/api
https://test-api.tonspay.top/

Authenticator

  • Step 1 : Generate your merchant-api-key via telegram bot

  • Step 2 : Set request header

HeaderData

token

merchant-api-key

Last updated