Referência de APIWallet
Get wallet summary
Retrieve the wallet balance summary for a member.
Retrieve the wallet balance summary for a member.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Path Parameters
id*string
Member ID
Response Body
application/json
application/json
application/json
curl -X GET "https://api-base.rafo.work/api/v1/members/string/wallet"{
"data": {
"member_id": "string",
"pending": 0,
"available": 0,
"total_earned": 0,
"total_redeemed": 0,
"currency": "BRL",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}