Licenseplates
We provide a few apis to manage licenseplates for members. These all use the scoping and namespacing of our members api's
GET/members/{uuid}/licenseplates
List licenseplates
This endpoints allows you to fetch all licenseplates active for a user in a brand
Required headers
- Name
Authorization
- Type
- string
- Description
The token itself as a bearer token.
Abilities
- Name
members.get
- Type
- string
- Description
The scope required to access this endpoint.
Query / body parameters
- Name
brand_id
- Type
- string|Required
- Description
The brand id to get the members for.
Request
GET
/members/{member_uuid}/licenseplatescurl -X GET https://api.walletapp.co/members/{member_uuid}/licenseplates
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Authorization: Bearer <your_token>"
-d '{
"brand_id": "<brand_id>",
}'
Response
{
"success": true,
"data": [
"licenseplate1",
"licenseplate2"
]
}
POST/members/{uuid}/licenseplates
Add licenseplate
This endpoint allows you to add a new licenseplate to a member in a brand
Required headers
- Name
Authorization
- Type
- string
- Description
The token itself as a bearer token.
Abilities
- Name
members.store
- Type
- string
- Description
The scope required to access this endpoint.
Query / body parameters
- Name
brand_id
- Type
- string|Required
- Description
The brand id to get the members for.
- Name
licenseplate
- Type
- string|Required
- Description
The licenseplate to add.
Request
POST
/members/{member_uuid}/licenseplatescurl -X POST https://api.walletapp.co/members/{member_uuid}/licenseplates
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Authorization: Bearer <your_token>"
-d '{
"brand_id": "<brand_id>",
"licenseplate": "<licenseplate>"
}'
Response
{
"success": true,
"data": "Licenseplate successfully added"
}
DELETE/members/{uuid}/licenseplates
Remove licenseplate
This endpoint allows you to remove a licenseplate from a member in a brand
Required headers
- Name
Authorization
- Type
- string
- Description
The token itself as a bearer token.
Abilities
- Name
members.store
- Type
- string
- Description
The scope required to access this endpoint.
Query / body parameters
- Name
brand_id
- Type
- string|Required
- Description
The brand id to get the members for.
- Name
licenseplate
- Type
- string|Required
- Description
The licenseplate to remove.
Request
DELETE
/members/{member_uuid}/licenseplatescurl -X DELETE https://api.walletapp.co/members/{member_uuid}/licenseplates
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Authorization: Bearer <your_token>"
-d '{
"brand_id": "<brand_id>",
"licenseplate": "<licenseplate>"
}'
Response
{
"success": true,
"data": "Licenseplate successfully removed"
}