Skip to content

Checkout listing

POST
/v2/marketplace/{marketplaceId}/listing/{listingId}/checkout

Checkout a listing with user email and payment method.

marketplaceId
required
string

The ID of the marketplace

Example
123e4567-e89b-12d3-a456-426614174000
listingId
required
string

The ID of the listing

Example
123e4567-e89b-12d3-a456-426614174000
X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
recipientWalletId
required

The recipient wallet ID

string
wallet-123
payerPaymentMethodId
required

The payer payment method ID

string
paymethod-123
userEmail
required

The user email

string format: email
user@example.com

The checkout transaction details.

object
listingId
required

The unique id for the listing

string format: uuid
123e4567-e89b-12d3-a456-426614174000
checkoutSession
required

The checkout session details

object
publishableKey
required

The publishable key for the checkout session

string
pk_test_1234567890
clientSecret
required

The client secret for the checkout session

string
pi_1234567890_secret_abcdef

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error