get
https://partners.sandbox.test-simplexcc.com/
Redirects to the payment checkout page
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
JWT payload parameters
| Parameter | Type | Description |
|---|---|---|
| timestamp | Number | Unix timestamp of when “sig” was generated. |
| fiatAmount | Number | Amount of fiatCurrency to buy crypto with |
| fiatCurrency | String | Fiat currency to pay with |
| cryptoCurrency | String | Crypto Currency for the transaction |
| cryptoAddress | String | Crypto wallet address (must match cryptoCurrency). Can be shared via query params instead. |
| destinationTag | String | Crypto wallet tag (if needed). Can be shared via query params |
| endUserID (Optional) | String | UUID 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);