POST
/
consent
curl --request POST \
  --url https://gateway.cyrexa.com/open-banking/2.0.0/consent \
  --header 'Content-Type: application/json' \
  --data '{
  "serviceProvider": "<string>",
  "customerId": "<string>",
  "customerType": "<string>",
  "status": "<string>",
  "consentedDate": "<string>",
  "expiryDate": "<string>",
  "sharingStartDate": "<string>",
  "sharingEndDate": "<string>",
  "magicLink": "<string>",
  "consentPeriod": "<string>",
  "consentAccess": "<string>",
  "permissions": [
    {
      "name": "<string>",
      "endPoints": "<string>",
      "businessLogic": "<string>",
      "information": "<string>",
      "clusterDescription": "<string>"
    }
  ],
  "tenantId": "<string>"
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Body

application/json

Response

500
application/json

Internal server error

The response is of type object.