POST
/
v2
/
payments
/
transfers
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v2/payments/transfers \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceType": "payment_method",
  "source": {
    "id": "8e03978e-40d5-43e8-bc93-6894a57f9324"
  },
  "targetType": "crypto_rail",
  "target": {
    "currency": "USDC",
    "network": "base",
    "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  },
  "amount": "<string>",
  "currency": "<string>",
  "execute": false
}'
{
  "transfer": {
    "id": "8e03978e-40d5-43e8-bc93-6894a57f9324",
    "sourceType": "payment_method",
    "source": {
      "id": "8e03978e-40d5-43e8-bc93-6894a57f9324"
    },
    "targetType": "crypto_rail",
    "target": {
      "currency": "USDC",
      "network": "base",
      "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
    },
    "sourceAmount": "110.50",
    "sourceCurrency": "USD",
    "targetAmount": "100",
    "targetCurrency": "USD",
    "userAmount": "100",
    "userCurrency": "USD",
    "fees": [
      {
        "type": "exchange_fee",
        "amount": "10.25",
        "currency": "USD"
      },
      {
        "type": "network_fee",
        "amount": "0.25",
        "currency": "USD"
      }
    ],
    "status": "completed",
    "createdAt": "2021-01-01T00:00:00Z",
    "updatedAt": "2021-01-01T00:00:00Z",
    "transactionHash": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  }
}

Body

application/json

Response

201
application/json

Successfully created a transfer.

The response is of type object.