Skip to main content
POST
Create Payment
Initialize a new checkout payment transaction. This endpoint generates a unique blockchain wallet address for the transaction.

Request authentication

This endpoint requires a Public Key (pk_...) passed in either the x-api-key header or as a Bearer token in the Authorization header.

Request parameters

object
required
The customer profile payload.
array
required
The list of purchase items.
string
A description of the payment transaction.
string
ISO 8601 date-time string when the payment link expires. Defaults to 30 minutes from creation.

Authorizations

x-api-key
string
header
required

Body

application/json
customer
object
required
items
object[]
required
description
string
expires_at
string<date-time>

Response

The payment, with the deposit address and hosted checkout URL to send the customer to.

A single payment.

message
string
data
object