Skip to main content
PATCH
/
api
/
v1
/
token
/
{uuid}
Update token by UUID
curl --request PATCH \
  --url https://api.paylora.org/api/v1/token/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "network": "ARB_SEPOLIA",
  "name": "USDT",
  "address": "0xAbC123...",
  "status": "whitelisted"
}
'
{
  "success": true,
  "data": {
    "uuid": "<string>",
    "name": "<string>",
    "address": "<string>",
    "network": "ARB_SEPOLIA",
    "decimals": 18,
    "status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uuid
string
required

The UUID of the Token

Example:

"a1b2c3d4-e5f6-7890-1234-567890abcdef"

Body

application/json
network
string
required

The network of the transaction

Example:

"ARB_SEPOLIA"

name
string

The name of the token

Example:

"USDT"

address
string

The contract address of the token

Example:

"0xAbC123..."

status
enum<string>

The status of the token

Available options:
whitelisted,
not_whitelisted
Example:

"whitelisted"

Response

Resource model

success
boolean
required

Indicates if the request was successful

Example:

true

data
object
required

The data returned by the API