Resolver API
The Resolver API returns a wallet address for Twitter users, emails, phone numbers, and other user IDs.
One API call to find a Web3 wallet address for anyone on the internet.
Web2 Providers
twitteremailtelgithub
App Providers
Get a wallet to embedded directly in your app. You control authentication.
Reach out on Discord
How it Works
Input a Twitter user, email, phone number, or any other user_id and get a Patch Wallet address in return. It's that simple. The wallet is just like any other smart contract account and can store any tokens/NFTs.
userId
A userId is a unique provider and username ( like twitter:elonmusk, tel:19198675309, email:[email protected]) and returns a wallet address for them on a given chain (matic:0xabc...123).
Example userIds:
twitter:elonmuskgithub:torvaldstel:19198675309email:[email protected]

Resolve userIds
To use, check out our Postman collection here.
Takes userIds and returns a list of account addresses
POST https://paymagicapi.com/v1/resolver
Takes userIds in the body seperated by "," and returns a list of account addresses.
E.g. twitter:elonmusk,github:torvalds,email:[email protected]
Headers
Authorization*
String
Bearer Token
Request Body
userIds*
String
a list of all the users separated by "," with no space
{
"updatedAt":"2023-05-01T19:17:43.079Z",
"users":
[
{
"userId":"twitter:elonmusk",
"accountAddress":"0x3A782C4B50CF4d82Ce489623E9204B8e4c6a133F"
},
{
"userId":"email:[email protected]",
"accountAddress":"0x65b49E21e717f115AadD4cA820f75EA65B69581f"
},
{
"userId":"tel:19198675309",
"accountAddress":"0xf1F4500871b4F7334De2577D0661Ac57FC94523A"
},
{
"userId":"github:torvalds",
"accountAddress":"0xDb17D7D1E13cbA8277B8F5FF55FE2d4606251C36"
}
]
}Last updated