ApiResponseConsentResponse
data object
activebooleanrequired
consentIdstring<uuid>required
consentMethodstringrequired
consentedAtstring<date-time>required
orgIdstring<uuid>required
phonestringrequired
revokedAtstring<date-time>
storeIdstring<uuid>required
terminalIdstring<uuid>
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
currentVersionstringnullable
datesstring<date>[]required
occurrenceRefsstring[]required
requestIdsstring<uuid>[]required
totalinteger<int32>required
truncatedbooleanrequired
fieldErrors objectnullable
property name*stringnullable
gatewayErrorCodestringnullable
messagestring
retryableboolean
meta object
limitinteger<int32>
nextCursorstring
pageinteger<int32>
scheduleVersionstringnullable
totalinteger<int64>
totalPagesinteger<int32>
successbooleanrequired
ApiResponseConsentResponse
{
"data": {
"active": true,
"consentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"consentMethod": "string",
"consentedAt": "2024-07-29T15:51:28.071Z",
"orgId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"phone": "string",
"revokedAt": "2024-07-29T15:51:28.071Z",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"terminalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}