Retrieve GiftAid id for User
GET/v1/users/:id/has-gift-aid
Returns the most recent gift aid id for a given user, returns 404 not found if no gift aid exists.
Request​
Path Parameters
id integerrequired
Id of the user.
Responses​
- 200
- 401
- 404
Successfully retrieved GiftAid id for User
- application/json
- Schema
- Example (from schema)
Schema
data object
id string
object string
{
"data": {
"id": "giftaid_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"object": "id"
}
Unauthorized
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
error object
code string
title string
message string
{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}
Loading...