SMSOnline API Doc
  1. Cryptocurrency via Cryptomus
SMSOnline API Doc
  • Preparation
  • FAQ
  • V3
    • Customer API
      • Payments
        • Cryptocurrency via Cryptomus
          • Create new payment
            PUT
          • Get direct wallet
            PUT
          • Get transaction status
            GET
        • Credit Card via Pay4bit
          • Create new payment
      • Favourites
        • Get favourite services
        • Toggle favourite status
      • Get Account Balance
        GET
      • Get invoices
        GET
      • Get Coupons
        GET
    • 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
      • Make a top-up with crypto
      • (Get direct wallet address) Make a top-up with crypto
    • 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. Cryptocurrency via Cryptomus

Create new payment

Developing
PUT
https://api-x.smsonline.cloud/v3/customers/{userId}/cryptomus/invoice/{amount}
Create invoices for payment using cryptocurrencies.

Request

Path Params
userId
string 
required
Your User Id
Example:
{{userid}}
amount
integer 
required
Amount to be paid.
Body Params application/json
apiKey
string 
required
couponCode
string 
optional
Example
{
    "apiKey": "string",
    "couponCode": "string"
}

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 PUT 'https://api-x.smsonline.cloud/v3/customers/{{userid}}/cryptomus/invoice/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apiKey": "string",
    "couponCode": "string"
}'

Responses

🟢200Success
application/json
Body
ok
boolean 
required
body
string 
required
Payment url
Example
{
    "ok": true,
    "body": "https://pay.cryptomus.com/pay/991d9a35-e6db-43b7-8922-0000000000"
}
Modified at 2025-05-17 05:12:03
Previous
FAQ
Next
Get direct wallet
Built with