Bitsby documentation
Bitsby documentation
Bitsby documentation
Bitsby documentation
  • General information
  • Balance and tariffs
  • FAQ
  • Invoice creation
    • In my personal account
    • In the telegram bot
    • HTML forms and links
    • Via API
  • Settings
    • Wallets
    • Payment by bank cards
  • API documentation
    • General information
    • Invoice list
    • Invoice creation
    • Invoice cancellation
    • Bind payment to invoice
    • List of payments
    • Invoice statistics
    • Payment statistics
    • User balances
    • Balance change history
    • Project tariffs
  • Webhook URL
  • Plugins for online stores and CMS
  • Документация на русском
Powered by GitBook
On this page
  • Request
  • Example answer
  • Answer parameters
  1. API documentation

Project tariffs

Request

curl -X POST https://api.bitsby.app/billing/tarrifs \
  -H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay"

Example answer

{
    "result": "success",
    "data": {
        {
            "id": "f31c61f6-407f-4999-95cf-56477eff06d4",
            "name": "Bitsby crypto payments",
            "30dPayments": "123456",
            "payer": "seller",
            "rate": "1.00"
        },
        {
            "id": "fac8ef03-2c41-4ce0-a432-7c33b928f16f",
            "name": "My project",
            "30dPayments": "0",
            "payer": "buyer",
            "rate": "0.80"
        }
    }
}

Answer parameters

Parameter
Description

id

Project ID in UUID format

name

Project name

30dPayments

Amount of invoices paid in the last 30 days

payer

Party paying the commission

rate

Commission amount in %

PreviousBalance change historyNextWebhook URL

Last updated 5 months ago