← Coinbase

Withdraw Funds with Coinbase API

Pipedream makes it easy to connect APIs for Coinbase and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Withdraw Funds with the Coinbase API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Withdraw Funds with the Coinbase API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Withdraw Funds action
    1. Connect your Coinbase account
    2. Configure account_id
    3. Configure amount
    4. Configure currency
    5. Configure payment_method
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Withdraw Funds with Coinbase API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Coinbase
 
Try it
Withdraw Funds with Coinbase API on New Item in Feed from RSS API
RSS + Coinbase
 
Try it
Withdraw Funds with Coinbase API on New Message from Discord API
Discord + Coinbase
 
Try it
Withdraw Funds with Coinbase API on New Message In Channels from Slack API
Slack + Coinbase
 
Try it
Withdraw Funds with Coinbase API on New Message in Channel from Discord Bot API
Discord Bot + Coinbase
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Withdraw Funds on Coinbase
Description:Withdraw funds
Version:0.1.1
Key:coinbase-withdraw-funds

Code

// legacy_hash_id: a_1WiqY1
import { axios } from "@pipedream/platform";

export default {
  key: "coinbase-withdraw-funds",
  name: "Withdraw Funds",
  description: "Withdraw funds",
  version: "0.1.1",
  type: "action",
  props: {
    coinbase: {
      type: "app",
      app: "coinbase",
    },
    account_id: {
      type: "string",
    },
    amount: {
      type: "string",
    },
    currency: {
      type: "string",
    },
    payment_method: {
      type: "string",
    },
  },
  async run({ $ }) {

    return await axios($, {
      url: `https://api.coinbase.com/v2/accounts/${this.account_id}/withdrawals`,
      headers: {
        Authorization: `Bearer ${this.coinbase.$auth.oauth_access_token}`,
      },
      data: {
        amount: this.amount,
        currency: this.currency,
        payment_method: this.payment_method,
      },
    });
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
CoinbasecoinbaseappThis component uses the Coinbase app.
account_idstring
amountstring
currencystring
payment_methodstring

Authentication

Coinbase uses OAuth authentication. When you connect your Coinbase account, Pipedream will open a popup window where you can sign into Coinbase and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Coinbase API.

Pipedream requests the following authorization scopes when you connect your account:

wallet:accounts:readwallet:user:readwallet:buys:createwallet:sells:createwallet:withdrawals:createwallet:transactions:read

About Coinbase

Explore crypto like Bitcoin, Ethereum, and Dogecoin. Simply and securely buy, sell, and manage hundreds of cryptocurrencies.

More Ways to Use Coinbase

Triggers

New Transactions from the Coinbase API

New Transactions. See the docs here

 
Try it

Actions

Place Buy Order with the Coinbase API

Places a buy order

 
Try it