Wallets
Create wallet
Creates a new crypto wallet for a recipient
X-API-KEY<token>
API key for authentication (prefix: sk_dev_ for development, sk_live_ for production)
In: header
Path Parameters
recipientIdstring
Recipient ID
Format
uuidreferenceId?string
Format
uuidaddressstring
chainstring
Value in
"ETHEREUM" | "POLYGON" | "BASE" | "SOLANA"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.sentra.xyz/api/v1/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "address": "string", "chain": "ETHEREUM" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"address": "string",
"chain": "ETHEREUM",
"isDeleted": true,
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"message": "Validation failed",
"statusCode": 400,
"details": {
"field": "email",
"message": "Invalid email format"
}
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "Resource not found",
"statusCode": 404
}{
"message": "Internal server error",
"statusCode": 500
}