PayIDs
Claims a PayID for a user. All PayIDs are currently free to claim.
The PayID must meet these requirements:
Must contain only letters, numbers, hyphens, and underscores
Must be at least 1 character long
Must not be already claimed by another user
Users can only have one active PayID at a time. If a user claims a new PayID, their previous PayID will be automatically replaced.
Twitter username of the user
twitterhandleThe PayID to claim. Can only contain letters, numbers, hyphens, and underscores. Must match the pattern [a-zA-Z0-9-_]+
my-payidNumber of years until the PayID expires (1-10)
1PayID claimed successfully
Invalid input
Unauthorized
PayID already taken
Server error
POST /v1/pay-ids HTTP/1.1
Host: api.reveel.id
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100
{
  "email": "[email protected]",
  "twitterUsername": "twitterhandle",
  "payId": "my-payid",
  "expiresInYears": 1
}{
  "success": true,
  "data": {
    "payId": "my-payid",
    "expiresAt": "2024-06-01T00:00:00.000Z",
    "transactionId": "123e4567-e89b-12d3-a456-426614174000"
  },
  "meta": {
    "message": "PayID claimed successfully"
  }
}Search for PayIDs based on query parameters. The search is case-insensitive and will return partial matches.
Search query (minimum 1 character)
Maximum number of results to return (up to 100)
10When true, only returns active PayIDs (not temporary reservations)
trueSearch results
Invalid input
Unauthorized
Server error
GET /v1/pay-ids/search?q=text HTTP/1.1
Host: api.reveel.id
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "data": {
    "results": []
  },
  "meta": {
    "count": 0,
    "message": "Found 0 PayID(s)"
  }
}Last updated
Was this helpful?

