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.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Email address of the user
user@example.comTwitter 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
trueInvalid 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": "user@example.com",
"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.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
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
trueInvalid 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?

