Skip to main content
POST
/
v1
/
ext
/
application-token
/
{token}
/
linked-accounts
/
{currency}
/
link
/
paypal
/
{step}
Add Linked Account (PayPal) - USD
curl --request POST \
  --url https://staging-api.liquidity.walletos.xyz/v1/ext/application-token/{token}/linked-accounts/{currency}/link/paypal/{step} \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "PayPal",
  "data": {
    "firstName": "Timilehin",
    "lastName": "Makinde",
    "name": "Quantum Works LLC",
    "paypalDestinationType": "EMAIL",
    "recipientType": "personal",
    "username": "timi@gradientfi.com",
    "recipientAddress": "recipientAddress",
    "recipientCity": "recipientCity",
    "recipientState": "Alabama",
    "recipientPostalCode": "30301-4321",
    "email": "timi@gradientfi.com"
  }
}
'
{
  "data": {
    "type": "completed",
    "message": "Account successfully linked!",
    "data": {
      "id": "49e7c0c3-37a3-4a3c-9511-c9d5fb12b880",
      "currency": "USD",
      "optionType": "card",
      "counterPartyName": "Tom Smith Mo",
      "createdAt": "2025-03-01T00:30:09.794Z",
      "account": {
        "label": "Tom Smith",
        "lastFourDigits": "9676"
      },
      "wallet": {
        "id": "3eb8d02c-30e0-497c-a6ac-e2d203c63198",
        "balance": "99440.48",
        "disabled": false
      },
      "entity": {
        "id": "d5e6f1dd-57bc-4581-98e8-646264a5f2c9",
        "email": "josh+fairpuny+2@gradientfi.com",
        "externalIdentifier": "d5e6f1dd-57bc-4581-98e8-646264a5f2c9",
        "entityType": "BUSINESS"
      },
      "application": {
        "id": "7f0f3a21-f03e-47d3-be5e-7812771861c8",
        "externalId": "d5e6f1dd-57bc-4581-98e8-646264a5f2c9",
        "token": "sATKQyVWU71mepLXRcBVghL7yLLFU",
        "businessId": "d5e6f1dd-57bc-4581-98e8-646264a5f2c9"
      }
    }
  }
}

Path Parameters

token
string
required
currency
string
required
step
integer
required

Body

application/json
label
string
data
object

Response

200 - application/json

200 - OK

data
object