Create Payment Link
Create a Coinbase Business payment link for accepting crypto payments. Generates a hosted checkout URL with configurable amount, currency, and expiration. Ideal for: invoicing, e-commerce payments, donation pages, subscription billing.
Catalog action Integrations coinbase-business
Create a Coinbase Business payment link for accepting crypto payments. Generates a hosted checkout URL with configurable amount, currency, and expiration. Ideal for: invoicing, e-commerce payments, donation pages, subscription billing.
At a Glance
| Field | Value |
|---|---|
| Action ID | coinbase-business-create-payment-link |
| Category | Integrations |
| Connector | coinbase-business |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coinbase, payment, crypto, finance, create, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
amount | string | Yes | Payment amount with up to 2 decimal places (e.g., '25.00'). Range: 0.01–100000000 |
currency | string | Yes | Currency code — currently only 'USDC' is supported |
network | string | No | Blockchain network — currently only 'base' is supported |
description | string | No | Description for the payment link |
expiresAt | string | No | Expiration timestamp in ISO 8601 format |
metadata | object | No | Key-value metadata to attach to the payment link |
successRedirectUrl | string | No | URL to redirect on successful payment |
failRedirectUrl | string | No | URL to redirect on failed payment |
apiKeyName | string | No | CDP API Key Name (overrides connector) |
apiKeySecret | string | No | CDP API Key Secret (overrides connector) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Payment link ID |
url | string | Yes | Payment link URL |
status | string | Yes | Payment link status |
amount | string | Yes | Payment amount |
currency | string | Yes | Currency code |
description | string | No | Payment description |
network | string | No | Blockchain network |
address | string | No | Payment address |
expiresAt | string | No | Expiration timestamp |
metadata | object | No | Attached metadata |
successRedirectUrl | string | No | Success redirect URL |
failRedirectUrl | string | No | Fail redirect URL |
createdAt | string | Yes | Creation timestamp |
updatedAt | string | Yes | Last update timestamp |
Examples
json{ "type": "coinbase-business-create-payment-link", "payload": { "amount": "1000000", "currency": "USDC" }, "children": [], "connector": { "type": "coinbase-business", "id": "conn_coinbase_business" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/coinbase-business-create-payment-link/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "amount": "1000000", "currency": "USDC" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
