Skip to main content
POST
Purchase returns the payment details required by Stripe

Body

application/json

purchase request

checkoutId
string
Example:

"92353d2b-c3f5-4b3b-b214-c34b490b7324"

domain
string
Example:

"firstname.lastname"

externalUserId
string
Example:

"248b8553-effa-4d99-a906-041a54f7df87"

ownerAddress
string
Example:

"0x1234567890abcdef1234567890abcdef12345678"

partnerId
string
Example:

"248b8553-effa-4d99-a906-041a54f7df87"

stripeConnectedAccountId
string
Example:

"acct_1J1Z2X2Y2Z2X2Y2Z"

walletAddrs
object[]
years
integer
Example:

1

Response

OK

checkoutId
string
Example:

"92353d2b-c3f5-4b3b-b214-c34b490b7324"

orderId
string
Example:

"92456d2b-c315-4b2b-b234-c674490b7324"

stripeCheckoutSession
string
Example:

"cs_1234567890abcdef1234567890abcdef"

stripeCustomerId
string
Example:

"cus_1234567890abcdef1234567890abcdef"

stripeEphemeralKey
string
Example:

"ek_test_1234567890abcdef1234567890abcdef"

stripePublishableKey
string
Example:

"pk_test_1234567890abcdef1234567890abcdef"