Tonspay
  • 😇Welcome
  • 🚀Roadmap
  • 💰Price
  • 📈Tokenomics
  • ✌️Chain Supports
  • 🤖Tonspay-Bot
    • General
    • Crosschain Payment
  • 🌉Tonsbridge
    • Genral
    • How to use Tonsbridge
  • 📱TONSPAY-WEBAPP
    • General
    • Pages
      • Home Page
      • Wallet Page
  • ☕Tonspay-dashboard
    • General
  • 🚂Demo Working Bot
    • General
    • How to use
    • Source code & example
  • ⌨️Develop
    • Get start
    • 🎓Restful Api Interface
      • Payment method management
        • [POST] New payment method
        • [GET] Get payment method
      • Invoice management
        • [POST] New invoice
        • [POST] New headless invoice
        • [GET] Get invoice by id
    • 📬Web-page Api interface
    • ⏮️Callback interface
      • Http interface
      • Websocket interface
      • Callback ${body}
      • 🖨️Self host monitor
  • 🔗Links
    • Github
    • Twitter
    • Website
    • TonspayBot
    • TonspayChannel
    • Dev&Spport Group
    • TonsbridgeBot
    • TonspaySupportBot
    • PitchDeck
Powered by GitBook
On this page
  • Base url :
  • Method :
  • Auth :
  • Params :
  • Body :
  1. Develop
  2. Restful Api Interface
  3. Payment method management

[POST] New payment method

Generate new payment method

Base url :

/setting/paymentmethod/new

Method :

POST

Auth :

Require

Params :

NONE

Body :

Key
Type
Data

type

uint

The payment chain type

token

uint

The payment token type

address

string

The reciver address

callback

string

Default callback path

lable

string

Default payment lable

PreviousPayment method managementNext[GET] Get payment method

Last updated 1 year ago

⌨️
🎓