SMSOnline API Doc
  1. Account
SMSOnline API Doc
  • Preparation
  • FAQ
  • V3
    • Customer API
      • Payments
        • Cryptocurrency via Cryptomus
          • Create new payment
          • Get direct wallet
          • Get transaction status
        • Credit Card via Pay4bit
          • Create new payment
      • Favourites
        • Get favourite services
        • Toggle favourite status
      • Get Account Balance
      • Get invoices
      • Get Coupons
    • Phones API
      • Lookup API
        • Get service list by country and carrier
        • Get service detail by country and carrier
      • Inventory API
        • Get inventory
      • Order API
        • Order a number
        • Get order data
        • Change order status
      • Get Popular list
      • Get all available countries/carriers
    • Statistics API
      • Get statistics
  • V2(Deprecated)
    • Warning: V2 API is deprecated
    • Account
      • Get Balance
        GET
      • Make a top-up with crypto
        GET
      • (Get direct wallet address) Make a top-up with crypto
        GET
    • Lookup
      • Get Available Countries
      • Get Available Services
      • Get Service Details
      • Get the country stats with success rates
    • Manage phone numbers
      • Purchase Number
      • Return Number
      • Request Another SMS
      • Get Status of A Single Number
      • Get Bulk Status of Numbers With Conditions
  1. Account

(Get direct wallet address) Make a top-up with crypto

GET
https://api.smsonline.cloud/cs/checkout/cryptoV2
An endpoint to obtain the recipient wallet address by specifying the currency and network.
By sending a request to the endpoint with the payment amount, you will receive a recipient address that is valid for one hour.
Currently we accepts only USDT(BSC/TRON/ETH/POLYGON/ARBITRUM/AVALANCHE/SOL/TON)
If you need to make a payment in other currencies, please continue to use /cs/checkout/crypto as before.

Request

Query Params
userId
string 
required
User Id linked to API key
Example:
{{userid}}
key
string 
required
API key
Example:
{{APIKey}}
amount
integer 
required
Enter the top-up amount in USD cents. 500 = USD $5.00
Example:
500
currency
string 
required
Example:
USDT
network
string 
required
One of: BSC/TRON/ETH/POLYGON/ARBITRUM/AVALANCHE/SOL/TON
Example:
TRON

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.smsonline.cloud/cs/checkout/cryptoV2?userId={{userid}}&key={{APIKey}}&amount=500&currency=USDT&network=TRON'

Responses

🟢200Success
application/json
Body
error
boolean 
required
body
string 
required
Payment page URL in Cryptomus Pay
address
string 
required
network
string 
required
Example
{
    "error": false,
    "body": "https://pay.cryptomus.com/pay/00000000-0000-0000-0000-000000000000",
    "address": "THGRJY2YBpogpXodX6aYinBtBGRk3i0000",
    "network": "tron"
}
🟠401Unauthorized
Modified at 2025-05-03 15:53:51
Previous
Make a top-up with crypto
Next
Get Available Countries
Built with