GET /accessgrants/{ID} HTTP/1.1
Host: api.wallet.example.com
Accept: */*
{
"resource": "text",
"accessRequestUri": "text",
"expirationDate": "text",
"forPurpose": "text",
"mode": [
"text"
]
}PUT /accessgrants/{ID} HTTP/1.1
Host: api.wallet.example.com
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"status": "revoked"
}GET /accessgrants HTTP/1.1
Host: api.wallet.example.com
Accept: */*
[
{
"resource": "text",
"accessRequestUri": "text",
"expirationDate": "text",
"forPurpose": "text",
"mode": [
"text"
]
}
]POST /accessgrants HTTP/1.1
Host: api.wallet.example.com
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"resource": "text",
"accessRequestUri": "text",
"expirationDate": "text",
"forPurpose": "text",
"mode": [
"text"
]
}