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

Make a top-up with crypto

GET
https://api.smsonline.cloud/cs/checkout/crypto
This endpoint is used to top up your account balance with a specified amount.
A 200 response returns a unique URL for completing the payment via cryptocurrency.

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

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/crypto?userId={{userid}}&key={{APIKey}}&amount=500'

Responses

🟢200Success
application/json
Body
error
boolean 
required
body
string 
required
Payment page URL in Cryptomus Pay
Example
{
    "error": false,
    "body": "https://pay.cryptomus.com/pay/00000000-0000-0000-0000-000000000000"
}
🟠401Unauthorized
Modified at 2025-04-19 08:06:53
Previous
Get Balance
Next
(Get direct wallet address) Make a top-up with crypto
Built with