Skip to main content
GET
/
action
/
card
/
user
/
{reference}
Get Card User
curl --request GET \
  --url https://getmipay.com/api/v1/action/card/user/{reference} \
  --header 'Authorization: <authorization>' \
  --header 'X-API-KEY: <api-key>' \
  --header 'x-sp-auth-token: <x-sp-auth-token>'
{
  "success": true,
  "data": {
    "user_id": "SP6VC",
    "reference": "USR_123456",
    "first_name": "John",
    "last_name": "Doe",
    "email": "john@gmail.com",
    "status": "active",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

Headers

Authorization
string
required

Bearer token from authentication

Example:

"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

x-sp-auth-token
string
required

getmipay authentication token

Example:

"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Path Parameters

reference
string
required

User reference ID

Example:

"SP6VC"

Response

User retrieved successfully

success
boolean
Example:

true

data
object