Skip to main content
GET
/
api
/
agent
/
link
/
new
Init new wallet
curl --request GET \
  --url https://soleaspay.com/api/agent/link/new \
  --header 'Authorization: Bearer <token>' \
  --header 'x-api-key: <x-api-key>'
{
  "success": true,
  "data": {
    "apikey": "XLkynIRt7StyFdxnYQLxTyDxhk-WEjWQ1DEY-cwHMN8",
    "matricule": "SP20231M"
  },
  "message": "link success"
}

Authorizations

Authorization
string
header
required

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

Headers

x-api-key
string
required

Your API key

Query Parameters

email
string<email>
required

User's email address

phone
string
required

User's phone number

phoneCountry
string
required

Country phone code (e.g., +237)

Response

Wallet linked or created successfully

success
boolean
Example:

true

data
object
message
string
Example:

"link success"