Skip to main content

Overview

Link a Venmo account using the user’s Venmo username. Use the application token from your payout link/account widget flow.

Prerequisites

  • Application token (from payout/account widget)
  • Valid access token

Endpoint

  • POST {{LIQUIDITY_URL}}/v1/ext/application-token/:token/linked-accounts/:currency/link/venmo/:step
  • Auth: Bearer {{accessToken}}

Path Parameters

ParameterTypeDescriptionRequired
tokenstringApplication token from payout/account widgetYes
currencystringCurrency code (e.g., USD)Yes
stepstringUsually 1Yes

Request

curl -X POST "{{LIQUIDITY_URL}}/v1/ext/application-token/{{token}}/linked-accounts/USD/link/venmo/1" \
  -H "Authorization: Bearer {{accessToken}}" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Venmo",
    "data": {
      "firstName": "Timilehin",
      "lastName": "Makinde",
      "name": "Quantum Works LLC",
      "username": "maka_veli",
      "email": "timi@gradientfi.com"
    }
  }'

Request Body Fields

FieldTypeDescriptionRequired
labelstringDisplay name for the accountYes
data.firstNamestringRecipient first nameYes
data.lastNamestringRecipient last nameYes
data.namestringBusiness/account nameYes
data.usernamestringVenmo usernameYes
data.emailstringEmail for the recipientYes

Response (200)

{
  "data": {
    "type": "completed",
    "message": "Account successfully linked!",
    "data": {
      "id": "49e7c0c3-37a3-4a3c-9511-c9d5fb12b880",
      "currency": "USD",
      "optionType": "card",
      "counterPartyName": "Tom Smith Mo",
      "wallet": {
        "id": "3eb8d02c-30e0-497c-a6ac-e2d203c63198",
        "balance": "99440.48",
        "disabled": false
      },
      "entity": { "id": "d5e6f1dd-57bc-4581-98e8-646264a5f2c9", "entityType": "BUSINESS" }
    }
  }
}

Response Fields

FieldTypeDescription
data.data.idstringLinked account ID (use for withdrawals)
data.data.currencystringCurrency of the linked account
data.data.optionTypestringAccount type: venmo
data.data.counterPartyNamestringVenmo username
data.data.wallet.idstringAssociated wallet ID
data.data.wallet.balancestringCurrent wallet balance
data.data.entity.idstringEntity ID associated with the account
data.data.entity.entityTypestringEntity type: USER or BUSINESS

Notes

  • Store the id from the response for withdrawals
  • Ensure the Venmo username matches the recipient’s Venmo account
  • Uses the same withdrawal endpoint as other linked accounts