{
"info": {
"_postman_id": "ce89a15f-af9e-4476-abea-faa5e1593d08",
"name": "Mimun Yashir openbanking v1.0",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "18223558"
},
"item": [
{
"name": "openbanking",
"item": [
{
"name": "v1",
"item": [
{
"name": "consents",
"item": [
{
"name": "{consentId}",
"item": [
{
"name": "status",
"item": [
{
"name": "Get consent status",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId/status",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId",
"status"
],
"variable": [
{
"key": "consentId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId/status",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId",
"status"
],
"variable": [
{
"key": "consentId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Delete consent",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId"
],
"variable": [
{
"key": "consentId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId"
],
"variable": [
{
"key": "consentId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
},
{
"name": "Get consent details",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId"
],
"variable": [
{
"key": "consentId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-Type",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents/:consentId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents",
":consentId"
],
"variable": [
{
"key": "consentId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Create consent",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-TYPE",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Notification-URI",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": ""
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents"
]
}
},
"response": [
{
"name": "Successful response with consent data",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-ID-TYPE",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Notification-URI",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": ""
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/openbanking/v1/consents",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"consents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"example\": \"{\\n \\\"consentStatus\\\": \\\"received\\\",\\n \\\"consentId\\\": \\\"1234-wertiq-983\\\",\\n \\\"_links\\\": {\\n \\\"self\\\": {\\n \\\"href\\\": \\\"/v1/consents/1234-wertiq-983\\\"\\n },\\n \\\"scaOAuth\\\": {\\n \\\"href\\\": \\\"https://www.testbank.com/oauth/.well-known/oauth-authorization-server?consentId=1234-wertiq-983\\\"\\n }\\n }\\n}\\n\"\n}"
}
]
}
]
},
{
"name": "loans",
"item": [
{
"name": "{resourceId}",
"item": [
{
"name": "balances",
"item": [
{
"name": "Get loan balances (by resourceId)",
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "scope",
"value": "consent",
"type": "string"
},
{
"key": "accessTokenUrl",
"value": "https://apigw/openbanking/oauth/token",
"type": "string"
},
{
"key": "authUrl",
"value": "https://apigw/openbanking/oauth/authorize",
"type": "string"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId/balances",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId",
"balances"
],
"variable": [
{
"key": "resourceId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"description": "Added as a part of security scheme: oauth2"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId/balances",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId",
"balances"
],
"variable": [
{
"key": "resourceId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "transactions",
"item": [
{
"name": "Get loan transactions (by resourceId)",
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "scope",
"value": "consent",
"type": "string"
},
{
"key": "accessTokenUrl",
"value": "https://apigw/openbanking/oauth/token",
"type": "string"
},
{
"key": "authUrl",
"value": "https://apigw/openbanking/oauth/authorize",
"type": "string"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId/transactions",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId",
"transactions"
],
"variable": [
{
"key": "resourceId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"description": "Added as a part of security scheme: oauth2"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId/transactions",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId",
"transactions"
],
"variable": [
{
"key": "resourceId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get loan details (by resourceId)",
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "scope",
"value": "consent",
"type": "string"
},
{
"key": "accessTokenUrl",
"value": "https://apigw/openbanking/oauth/token",
"type": "string"
},
{
"key": "authUrl",
"value": "https://apigw/openbanking/oauth/authorize",
"type": "string"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId"
],
"variable": [
{
"key": "resourceId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"description": "Added as a part of security scheme: oauth2"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans/:resourceId",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans",
":resourceId"
],
"variable": [
{
"key": "resourceId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get Loans list (by consentId)",
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "scope",
"value": "consent",
"type": "string"
},
{
"key": "accessTokenUrl",
"value": "https://apigw/openbanking/oauth/token",
"type": "string"
},
{
"key": "authUrl",
"value": "https://apigw/openbanking/oauth/authorize",
"type": "string"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans"
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "X-Request-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Digest",
"value": "",
"description": "(Required) "
},
{
"key": "Signature",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Signature-Certificate",
"value": "",
"description": "(Required) "
},
{
"key": "TPP-Redirect-URI",
"value": "",
"description": "(Required) "
},
{
"key": "PSU-IP-Address",
"value": "",
"description": "(Required) "
},
{
"key": "Consent-ID",
"value": "",
"description": "(Required) "
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"description": "Added as a part of security scheme: oauth2"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/v1/loans",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"v1",
"loans"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "oauth",
"item": [
{
"name": ".well-known",
"item": [
{
"name": "oauth-authorization-server",
"item": [
{
"name": "Get authorize data",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/.well-known/oauth-authorization-server/?consentId=",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
".well-known",
"oauth-authorization-server",
""
],
"query": [
{
"key": "consentId",
"value": "",
"description": "(Required) "
}
]
}
},
"response": [
{
"name": "Successful response with authorization server metadata",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/.well-known/oauth-authorization-server/?consentId=",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
".well-known",
"oauth-authorization-server",
""
],
"query": [
{
"key": "consentId",
"value": "",
"description": "(Required) "
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"example\": \"{\\n \\\"issuer\\\": \\\"www.testbank.com\\\",\\n \\\"authorization_endpoint\\\": \\\"https://www.testbank.com/oauth/authorize/4321-abcdef-321\\\",\\n \\\"token_endpoint\\\": \\\"https://www.testbank.com/oauth/token\\\",\\n \\\"response_types_supported\\\": [\\n \\\"code\\\"\\n ]\\n}\\n\"\n}"
}
]
}
]
}
]
},
{
"name": "authorize",
"item": [
{
"name": "{consentId}",
"item": [
{
"name": "GET authorize",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/authorize/:consentId?response_type=&client_id=&scope=&state=&redirect_uri=&code_challenge=&code_challenge_method=",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"authorize",
":consentId"
],
"query": [
{
"key": "response_type",
"value": "",
"description": "(Required) "
},
{
"key": "client_id",
"value": "",
"description": "(Required) "
},
{
"key": "scope",
"value": "",
"description": "(Required) "
},
{
"key": "state",
"value": "",
"description": "(Required) "
},
{
"key": "redirect_uri",
"value": "",
"description": "(Required) "
},
{
"key": "code_challenge",
"value": "",
"description": "(Required) "
},
{
"key": "code_challenge_method",
"value": "",
"description": "(Required) "
}
],
"variable": [
{
"key": "consentId",
"value": "",
"description": "(Required) The consent ID for authorization"
}
]
}
},
"response": [
{
"name": "Successful response with redirect location header",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/authorize/:consentId?response_type=&client_id=&scope=&state=&redirect_uri=&code_challenge=&code_challenge_method=",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"authorize",
":consentId"
],
"query": [
{
"key": "response_type",
"value": "",
"description": "(Required) "
},
{
"key": "client_id",
"value": "",
"description": "(Required) "
},
{
"key": "scope",
"value": "",
"description": "(Required) "
},
{
"key": "state",
"value": "",
"description": "(Required) "
},
{
"key": "redirect_uri",
"value": "",
"description": "(Required) "
},
{
"key": "code_challenge",
"value": "",
"description": "(Required) "
},
{
"key": "code_challenge_method",
"value": "",
"description": "(Required) "
}
],
"variable": [
{
"key": "consentId"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "POST authorize",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "X-Code",
"value": "",
"description": "(Required) "
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/authorize",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"authorize"
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "X-Code",
"value": "",
"description": "(Required) "
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer ",
"description": "Added as a part of security scheme: bearer"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/authorize",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"authorize"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "token",
"item": [
{
"name": "Get access token",
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "scope",
"value": "consent",
"type": "string"
},
{
"key": "accessTokenUrl",
"value": "https://apigw/openbanking/oauth/token",
"type": "string"
},
{
"key": "authUrl",
"value": "https://apigw/openbanking/oauth/authorize",
"type": "string"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "grant_type",
"value": ""
},
{
"key": "client_id",
"value": ""
},
{
"key": "scope",
"value": ""
},
{
"key": "redirect_uri",
"value": ""
},
{
"key": "code_verifier",
"value": ""
},
{
"key": "code",
"value": ""
},
{
"key": "refresh_token",
"value": ""
}
]
},
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/token",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"token"
]
}
},
"response": [
{
"name": "Successful response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"description": "Added as a part of security scheme: oauth2"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "grant_type",
"value": ""
},
{
"key": "client_id",
"value": ""
},
{
"key": "scope",
"value": ""
},
{
"key": "redirect_uri",
"value": ""
},
{
"key": "code_verifier",
"value": ""
},
{
"key": "code",
"value": ""
},
{
"key": "refresh_token",
"value": ""
}
]
},
"url": {
"raw": "{{baseUrl}}/openbanking/oauth/token",
"host": [
"{{baseUrl}}"
],
"path": [
"openbanking",
"oauth",
"token"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": ""
}
]
}
]
}
]
}
]
}
],
"variable": [
{
"key": "baseUrl",
"value": "https://apigw-test.5555.co.il"
}
]
}