CryptoPurchase returns the payment details required for crypto payment
curl --request POST \ --url https://api.superlink.me/v1/market/crypto/purchase \ --header 'Content-Type: application/json' \ --data '{ "currency": "ETH", "domain": "firstname.lastname", "ownerAddress": "0x1234567890abcdef1234567890abcdef12345678", "ownerEmail": "nora@gmail.com", "ownerName": "Nora", "partnerId": "248b8553-effa-4d99-a906-041a54f7df87", "walletAddrs": [ { "addr": "0x1234567890abcdef1234567890abcdef12345678", "coinId": 60 } ], "years": 1 }'
{ "address": "0xA5D70E12348Fef6A123EBD1231b123c51235E321", "amount": 0.001, "expiryDateEpoch": 1697009575596, "orderId": "92456d2b-c315-4b2b-b234-c674490b7324", "paymentId": "fa13ba20-da1d-426f-a0e4-f7629caae626", "protocol": "ETH", "uri": "ethereum:0x4c0f4c2ad289be425e034e9475fa243b5f6ccab4?value=1.349965E+16" }
Show child attributes
PaymentDetails CryptoPaymentDetails json:"paymentDetails"
json:"paymentDetails"