Create Bill

Create a new Invoice for billing, supporting USDT (over TRON) or Bitcoin Lightning

API Endpoint

POST /client/bills/save


Request Headers:

Authorization: Bearer <access_token>

Content-Type: application/json Request Body:

{
     amount: "1000000", // USD with 6 decimals uint, 1USD = 1000000
     tag: "bill-tag",   // Some useful tag for searching
     expireInMinutes: "30" // Bill Expires After 30 Minutes
     reference: "unique-ref" // Unique Non Reusable Bill Reference
     useLightning: true // when payment via bitcoin lightning network
}

Last updated