Coinbase Commerce (Business)
Coinbase Commerce / Business API for charges, checkouts, and crypto payment acceptance.
Authentication
This connector uses Token-based authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 13 actions:
| Action | Purpose | Parameters |
|---|---|---|
| commerce/post_charges | Creates a new crypto payment charge object. Returns a hosted payment URL and a charge code that the customer uses to complete payment. | data: { . name (string) . description (string) . local_price (object) . pricing_type (string) . redirect_url (string) . cancel_url (string) . metadata (object) } (object) required |
| commerce/get_charges | Returns a paginated list of all charges for the merchant account. | limit (integer) starting_after (string) ending_before (string) |
| commerce/get_charges_by_charge_code_or_id | Returns the details of a specific charge by its ID or code. | charge_code_or_id (string) required |
| commerce/post_charges_by_charge_code_or_id_cancel | Cancels a charge that has not yet been confirmed. Only NEW charges can be cancelled; charges in PENDING or later states cannot be cancelled. | charge_code_or_id (string) required |
| commerce/post_charges_by_charge_code_or_id_resolve | Resolves a charge that has been overpaid or underpaid, marking it as resolved. Only applicable to UNRESOLVED charges. | charge_code_or_id (string) required |
| commerce/get_events | Returns a paginated list of charge-related webhook events. | limit (integer) starting_after (string) ending_before (string) |
| commerce/get_events_by_event_id | Returns the details of a specific event. | event_id (string) required |
| commerce/post_checkouts | Creates a new single-use hosted payment checkout. Returns a unique hosted URL that customers use to complete payment in USDC on the Base network. Supports idempotency via X-Idempotency-Key header. | X-Idempotency-Key (string) data: { . amount (string) . currency (string) . description (string) . metadata (object) . successRedirectUrl (string) . failRedirectUrl (string) . expiresAt (string) } (object) required |
| commerce/get_checkouts | Retrieves a paginated list of checkout records with optional filtering. | pageSize (integer) pageToken (string) status (array) startTime (string) endTime (string) descriptionQuery (string) |
| commerce/get_checkouts_by_id | Retrieves the details of a specific checkout by its 24-character hex ID. | id (string) required |
| commerce/post_checkouts_by_id_deactivate | Deactivates an ACTIVE checkout, preventing further payment. No request body is required. | id (string) required |
| commerce/post_checkouts_by_id_refund | Initiates a full or partial refund for a COMPLETED or PARTIALLY_REFUNDED checkout. Refunds are settled in USDC or the checkout's original fiat currency. | id (string) required data: { . amount (string) . currency (string) . reason (string) } (object) required |
| commerce/custom | Call any endpoint of the connected service while reusing the connection auth. Pass the full URL as _url. Other reserved keys: _method, _query, _body, _headers. Remaining params flow naturally — empty → GET, non-empty → POST JSON body. | _url (string) required _method (string) _query (object) _body _headers (object) |