Skip to main content
POST
/
v1
/
ext
/
application-token
Create Payout Link - Account Widget
curl --request POST \
  --url https://staging-api.liquidity.walletos.xyz/v1/ext/application-token \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "ZjM4YjNhNDAtODFjZC00N2E2LTljYjMtNDY5NGRmZmZjYmQ2",
  "expiredAt": "2025-12-31T23:59:59.000Z",
  "tokenType": "ACCOUNT_WIDGET",
  "currency": "USD",
  "extra": {
    "accountOptions": [
      "card",
      "bank",
      "international_bank"
    ],
    "counterparty": {
      "name": "Joshuah Torp",
      "email": "Louisa.Lakin59@example.net"
    }
  }
}
'
{
  "data": {
    "url": "<string>",
    "application": {
      "id": "<string>",
      "token": "<string>",
      "tokenType": "<string>",
      "expiredAt": "2023-11-07T05:31:56Z",
      "valid": true
    }
  }
}

Body

application/json
expiredAt
string
required

The expiration date and time for the application token

tokenType
string
required

The type of application token to create (only "ACCOUNT_WIDGET" is supported)

currency
string
required

The currency to use for the application token (USD, NGN)

externalId
string

End user account ID

extra
object

Response

200 - application/json

200 - OK

data
object