Download OpenAPI specification:
This is the HTTP API for the Bitflow service.
Retrieves the details of a specific invoice by its ID.
| id required | string Invoice ID |
{- "data": {
- "base_amount": "100.50",
- "base_currency_code": "USD",
- "created_at": "2025-01-01 10:00:00.000000000",
- "description": "Payment for order #12345",
- "expires_at": "2025-01-01 11:00:00.000000000",
- "external_id": "ext_78910",
- "id": "6ddf7521-365a-44b7-92ab-4421f02aae64",
- "paid_amount": "0.0026",
- "paid_at": "2025-01-01 10:30:00.000000000",
- "payment_address": "TVPeVqeRseNp8tM8d1zwyBaHwAv65N4BBB",
- "payment_amount": "100.50",
- "payment_commission": 1.0005,
- "payment_currency_code": "USDT",
- "payment_network_code": "TRON",
- "status": "paid"
}, - "status": "success",
- "status_code": 200
}Creates a new invoice for the authenticated merchant.
Invoice creation request
| base_amount | string |
| base_currency_code | string |
| description | string |
| expires_at | string |
| external_id | string |
{- "base_amount": "123.45",
- "base_currency_code": "USD",
- "description": "Payment for goods",
- "expires_at": "2025-01-02 15:00:00.000000000",
- "external_id": "order-5678"
}{- "data": {
- "base_amount": "100.50",
- "base_currency_code": "USD",
- "created_at": "2025-01-01 10:00:00.000000000",
- "description": "Payment for order #12345",
- "expires_at": "2025-01-01 11:00:00.000000000",
- "external_id": "ext_78910",
- "id": "6ddf7521-365a-44b7-92ab-4421f02aae64",
- "paid_amount": "0.0026",
- "paid_at": "2025-01-01 10:30:00.000000000",
- "payment_address": "TVPeVqeRseNp8tM8d1zwyBaHwAv65N4BBB",
- "payment_amount": "100.50",
- "payment_commission": 1.0005,
- "payment_currency_code": "USDT",
- "payment_network_code": "TRON",
- "status": "paid"
}, - "status": "success",
- "status_code": 200
}Retrieves the profile of the currently authenticated merchant.
{- "data": {
- "category_code": "online_store",
- "commission_percent": "2.5",
- "created_at": "2025-01-01T12:00:00Z",
- "name": "My Awesome Shop",
}, - "status": "success",
- "status_code": 200
}Retrieves a list of accounts belonging to the currently authenticated merchant.
{- "data": [
- {
- "balance": "15200.50",
- "currency_code": "USDT",
- "held_balance": "150.00",
- "id": "6ddf7521-365a-44b7-92ab-4421f02aae64",
- "name": "Main USD Balance"
}
], - "status": "success",
- "status_code": 200
}Executes a new transfer from one of the merchant's accounts.
Transfer execution request
| account_id | string <uuid> |
| amount | string |
object (UserPublicInfo) |
{- "account_id": "d1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6",
- "amount": "50.25",
- "recipient": {
- "id": "a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6",
- "username": "JonDoe1982"
}
}{- "data": { },
- "status": "success",
- "status_code": 200
}