Buy Crypto

Redirects to the payment checkout page

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

JWT payload parameters

ParameterTypeDescription
timestampNumberUnix timestamp of when “sig” was generated.
fiatAmountNumberAmount of fiatCurrency to buy crypto with
fiatCurrencyStringFiat currency to pay with
cryptoCurrencyStringCrypto Currency for the transaction
cryptoAddressStringCrypto wallet address (must match cryptoCurrency). Can be shared via query params instead.
destinationTagStringCrypto wallet tag (if needed). Can be shared via query params
endUserID (Optional)StringUUID string to represent a user

Example:

const paymentPayload = {
  "timestamp": 1531916946,
  "endUserID": "b175257e-1f30-49cc-84b7-0a7c8abc4526",
  "cryptoAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
  "destinationTag": "werwe55",
  "cryptoCurrency": "BNB-SC",  
  "fiatCurrency": "USD",
  "fiatAmount": 120
}

// Header
const header = {
  alg: 'HS256',
  typ: 'JWT'
};

// Generate JWT token
const token = jwt.sign(paymentPayload, API_SECRET_KEY);
Query Params
string

your partner name on simplex end

string

The JWT token generated with payment parameters

string

the users wallet_address (if not added to the JWT payload)

string

crypto wallet tag/memo

string

can query for a specific payment method (optional)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json