POST
/
v1
/
market
/
purchase
curl --request POST \
  --url https://api.superlink.me/v1/market/purchase \
  --header 'Content-Type: application/json' \
  --data '{
  "checkoutId": "92353d2b-c3f5-4b3b-b214-c34b490b7324",
  "domain": "firstname.lastname",
  "externalUserId": "248b8553-effa-4d99-a906-041a54f7df87",
  "ownerAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "partnerId": "248b8553-effa-4d99-a906-041a54f7df87",
  "stripeConnectedAccountId": "acct_1J1Z2X2Y2Z2X2Y2Z",
  "walletAddrs": [
    {
      "addr": "0x1234567890abcdef1234567890abcdef12345678",
      "coinId": 60
    }
  ],
  "years": 1
}'
{
  "checkoutId": "92353d2b-c3f5-4b3b-b214-c34b490b7324",
  "orderId": "92456d2b-c315-4b2b-b234-c674490b7324",
  "stripeCheckoutSession": "cs_1234567890abcdef1234567890abcdef",
  "stripeCustomerId": "cus_1234567890abcdef1234567890abcdef",
  "stripeEphemeralKey": "ek_test_1234567890abcdef1234567890abcdef",
  "stripePublishableKey": "pk_test_1234567890abcdef1234567890abcdef"
}

Body

application/json
purchase request
checkoutId
string
domain
string
externalUserId
string
ownerAddress
string
partnerId
string
stripeConnectedAccountId
string
walletAddrs
object[]
years
integer

Response

200
application/json
OK
checkoutId
string
orderId
string
stripeCheckoutSession
string
stripeCustomerId
string
stripeEphemeralKey
string
stripePublishableKey
string