Generate a new payment link for checkout.
Authorization header using the Bearer scheme. Learn more about JWT tokens in the Coinbase Developer Portal.
Request payload for creating a payment link.
The max amount to be signed by the buyer.
Identifier for the blockchain network. (Default: 8453)
Operator handling the payment.
The receiver's address.
Timestamp (in seconds) when the authorization expires. Must be at least 1 minute from now. (Default: now() + 7 days)
Contract address of the Commerce protocol (PaymentEscrow.sol). (Default: 0xBdEA0D1bcC5966192B070Fdf62aB4EF5b4420cff)
Customer information.
URL to redirect on failed payment.
Address that receives the fee. (Default: 0x0000000000000000000000000000000000000000)
Fiat details.
Host URL for the payment link.
Max Fee in basis points. (Default: 0)
Merchant information.
Min Fee in basis points. (Default: 0)
Timestamp (in seconds) when the pre-approval expires. Must be at least 1 minute from now. (Default: now() + 1 day)
Payment provider, defaults to COINBASE_COMMERCE. (Default: COINBASE_COMMERCE)
COINBASE_COMMERCE, BASE_PAY Timestamp (in seconds) when the refund expires. Must be at least 1 minute from now. (Default: now() + 7 days)
Current status of the payment link. (Default: ACTIVATED)
ACTIVATED, DEACTIVATED, PENDING Callback URL on successful payment preapproval.
URL to redirect on successful payment.
The token address used for the payment. (Default: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
A successful response.
Representation of a payment link including its URL, status, and related merchant, customer, and fiat information.
Entity type, usually 'paymentLink'.
Unique identifier of the payment link.
URL of the payment link.
Current status of the payment link.
ACTIVATED, DEACTIVATED, PENDING The max amount to be signed by the buyer.
The token address used for the payment.
Blockchain network identifier.
Operator handling the payment link.
The receiver's address.
Min Fee in basis points.
Max Fee in basis points.
Address that receives the fee.
Maximum number of uses.
Current usage count.
URL to redirect after successful payment.
URL to redirect after failed payment.
Timestamp when the payment link was created.
Timestamp when the payment link was last updated.
Smart contract address of the Commerce PaymentEscrow protocolof the Commerce PaymentEscrow protocol.
Source of entropy to ensure unique hashes across different payments.
Unique nonce for the payment link preapproval authorization.
Merchant information.
Customer information.
Fiat details.
Host URL for the payment link.
Timestamp (in seconds) when the pre-approval expires.
Timestamp (in seconds) when the authorization expires.
Timestamp (in seconds) when the refund expires.