SessionDataRequestV2
Partner's display name
YourNamesourceDetails object
Source details - amount, currency, and payment method
Source amount used for buying crypto
100Source currency used for buying crypto
USDThe payment method used by the customer
Possible values: [CARD, BALANCE]
CARDAllow the customer to enter a wallet address, different from the provided one/s
truedestinationDetails object[]
A list of destination asset details - crypto currency, network, wallet address, wallet address tag
The cryptocurrency the customers wants to purchase
BTCThe network of the cryptocurrency
MainnetA crypto wallet address to receive the crypto funds
3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLyTag, memo, or any additional identifier of the destination wallet address
abc123Partner's unique reference id for the purchase (transaction ID)
480b3d52-8a7b-42f6-845a-1dd0fb3ed7c3Partner's URL address on which webhooks will be received
http://example.com/webhook/urlreturnUrl object
Return URLs provided by the partner
Success URL, used to return the customer back to the partner after a successful transaction
http://example.com/successFailure URL, used to return the customer back to the partner after a failed transaction
http://example.com/failureDefault URL, used if success and/or failure URLs are not provided
http://example.com/defaultThe customer's country (ISO3166-1 alpha-3)
ESTPre-select language for the customer. If not provided, the default language is English. Accepted values:
- en - English
- cs - Czech
- es - Spanish
- fr - French
- it - Italian
- el - Greek
- pl - Polish
- pt - Portuguese
- de - German
es{
"partnerName": "YourName",
"sourceDetails": {
"currency": "EUR",
"amount": 100,
"preferredPaymentMethod": "CARD"
},
"allowWalletAddressChange": false,
"destinationDetails": [
{
"currency": "BTC",
"network": "Mainnet",
"walletAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
}
],
"webhookUrl": "http://example.com/webhook/url",
"returnUrl": {
"success": "http://example.com/return?paymentStatus=success",
"default": "http://example.com/return?paymentStatus=default",
"failure": "http://example.com/return?paymentStatus=failure"
},
"countryId": "EST",
"language": "es"
}