2. Redirect to Buy Crypto

When user confirms purchase they accept the quote, make GET request to `/ endpoint with the fiat amount from /quote (if quote was used)

  • For example: GET /?partner=<partner>&t=<jwt>&pyms=credit_card
  • In partner param, pass your partner ID
  • In t param, pass the generated JWT token
  • Include user's wallet address and other data in JWT payload
{
  "timestamp": 1531916946,
  "endUserID": "b175257e-1f30-49cc-84b7-0a7c8abc4526",
  "cryptoAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
  "cryptoCurrency": "BTC",  
  "fiatCurrency": "USD",
  "fiatAmount": 120
}

Did this page help you?