55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"$type": {
|
|
"type": "string",
|
|
"description": "Fixed value for this request type",
|
|
"example": "CustomerConsentRequest"
|
|
},
|
|
"transactionId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of transaction in FIRSTBANK system",
|
|
"example": "20171209232177"
|
|
},
|
|
"customerId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of a customer",
|
|
"example": "CN621868"
|
|
},
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "Specific identifier of a user's account",
|
|
"example": "ACN8263457"
|
|
},
|
|
"requestTime": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "Date and time of consent request",
|
|
"example": "2019-10-18 14:26:21.063"
|
|
},
|
|
"consentType": {
|
|
"type": "string",
|
|
"description": "Type of consent: 'Enable' or 'Revoke'",
|
|
"enum": ["Enable", "Revoke"],
|
|
"example": "Revoke"
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "Request channel: 'USSD' or 'APP'",
|
|
"enum": ["USSD", "APP"],
|
|
"example": "USSD"
|
|
}
|
|
},
|
|
"required": [
|
|
"$type",
|
|
"transactionId",
|
|
"customerId",
|
|
"accountId",
|
|
"requestTime",
|
|
"consentType",
|
|
"channel"
|
|
],
|
|
"xml": {
|
|
"name": "CustomerConsentRequest"
|
|
}
|
|
} |