Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Path Parameters
The payment link ID.
"68f7a946db0529ea9b6d3a12"
Response
Payment link deactivated successfully.
Unique payment link identifier.
"68f7a946db0529ea9b6d3a12"
The generated payment link URL.
"https://pay.coinbase.com/pl_01h8441j23abcd1234567890ef"
The status of the payment link.
ACTIVEThe payment link is active and can accept payments.DEACTIVATEDThe payment link has been manually deactivated.EXPIREDThe payment link has expired based on the expiresAt timestamp.COMPLETEDThe payment link has been successfully paid.
ACTIVE, DEACTIVATED, EXPIRED, COMPLETED "ACTIVE"
Numeric value representing the amount.
"100.50"
The currency code for the amount.
"USDC"
The blockchain network for the payment. Defaults to base if not specified. More networks will be added in the future.
base "base"
The blockchain address where funds should be sent.
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
Timestamp in RFC 3339 format.
"2024-03-20T10:30:00Z"
Timestamp in RFC 3339 format.
"2024-03-20T10:30:00Z"
The token contract address (for ERC-20 tokens).
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
Human-readable description of the payment.
"Payment for order #12345"
Timestamp in RFC 3339 format.
"2024-03-20T10:30:00Z"
Optional metadata as key-value pairs to be passed through the payment flow.
{
"invoiceId": "12345",
"reference": "Payment for invoice #12345",
"customerId": "cust_abc123"
}Optional URL to redirect the user to after successful payment authorization. This indicates the user has successfully authorized the payment, not that the payment has been completed.
"https://example.com/success"
Optional URL to redirect the user to after failed payment authorization.
"https://example.com/failed"
Financial breakdown of the payment link transaction showing the total amount charged, fees deducted, and net amount received.