Shop
  • No Suggestions Result

CIB PSD2 API Sandbox

Welcome to the new world of banking services!
What services does CIB PSD2 API Sandbox offer?

What services does CIB PSD2 API Sandbox offer?

 

The CIB PSD2 API service provides an opportunity for your business to provide account information and payment initiation services to customers of our bank who have a payment account. 

In integrating the PSD2 API our bank follows the Berlin Group guideline version 1.3. Please review the CIB PSD2 API documentation and test your development using the Sandbox. 

Once the statutory conditions have been fulfilled and in possession of the required certificates, you can use our service starting from 14 September 2019.

 

Differences compared to the Berlin Group guideline

Differences compared to the Berlin Group guideline

 

1. General information

 

The purpose of the documentation is to support interface integration testing in the following cases:

  • To service providers providing account information and payment initiation services to customers who have accounts at CIB Bank.
  • For the confirmation request activity of payment service providers that issue card-based cashless payment instruments. 

 

CIB Bank applied version 1.3 of the guideline proposed by the Berlin Group in developing the interface, therefore we recommend studying it prior to starting the testing. 

 

Below we present the differences compared to the Berlin Group guidelines. 

 

2. Abbreviations and terms

 

Abbreviation

Description

TPP (Third Party Payment Provider):

A service provider other than the bank (so-called third party) that provides account information or payment initiation services

AISP:

Account Information Service Provider

PISP:

Payment Initiation Service Provider

PSU:

Payment Service User

SCA:

Strong Customer Authentication

 

 

3. Differences compared to the Berlin Group guideline version 1.3

 

Our Bank does not support the request concerning the cancellation (deletion) of payment orders:

  • DELETE {payment-service}/{payment-product}/{paymentId} 

The PSU can cancel (delete) payment initiations submitted via the TPPs only through other electronic channels provided by our bank.


On the following interface, use of the “both” value in the bookingStatus parameter is not supported:

  • GET /v1/accounts/{account-id}/transactions
  • GET /v1/card-accounts/{account-id}/transactions

Only one transaction by bookingStatus can be queried at a time. bookingStatus parameters that can be used:

  • pending: queries the items pending
  • notFulfilled: queries the items not fulfilled
  • booked: items fulfilled


In the case of payment initiation requests, our Bank supports different payment order types (payment products), which are: 

  • cross-border-credit-transfers – one-time foreign currency transfers (intrabank, interbank)
  • hungarian-credit-transfers – one-time and recurring forint transfers (intrabank, interbank)


Payment order types (payment products) and services can be interpreted in the following combinations:

payment product

payments

bulk-payments

periodic-payments

cross-border-credit-transfers

supported

not supported

supported

Hungarian-credit-transfers

supported

not supported

not supported


4. Things to know about how CIB PSD2 API Sandbox works

 

The bank supports interface testing via a Sandbox application that has the following characteristics:

  • uses a fixed system date: 2019-02-10 (validations will check this, too)
  • interfaces give fixed responses to fixed requests, and support for this is provided by the attached sandbox_teszt.txt
  • account balances do not change
  • of the payment services, the bank does not support periodic payments and bulk payments

 

CIB PSD2 API Sandbox does not support the following requests:

  • GET card-accounts 
  • GET card-accounts/{account-id} 
  • GET card-accounts/{account-id}/balances 
  • GET card-accounts/{account-id}/transactions 
  • POST bulk-payments/{payment-product} 
  • GET bulk-payments/{payment-product}/{paymentId} 
  • GET bulk-payments/{payment-product}/{paymentId}/status 
  • POST periodic-payments/{payment-product} 
  • GET periodic-payments/{payment-product}/{paymentId} 
  • GET periodic-payments/{payment-product}/{paymentId}/status 
  • DELETE consents/{consentId} 
Things to know about using CIB PSD2 API Sandbox

Things to know about using CIB PSD2 API Sandbox

 

How much does the use of CIB PSD2 API Sandbox cost?

CIB Bank ensures use of the CIB PSD2 API Sandbox free of charge to those interested.

 

On what address can CIB PSD2 API Sandbox be accessed?

https://api-test.cib.hu

 

From when can the system be used live?

According to the requirements of the PSD2 Directive, CIB PSD2 API Sandbox can be used live starting from 14 September 2019.

 

How can we learn of API changes?

The bank publishes the documentation of changes occurring in the technical information required for using the CIB PSD2 API Sandbox by version updates on its website (www.cib.hu). 

 

What international standard does the bank follow in integrating the PSD2 API?

In integrating the PSD2 API our bank follows the Berlin Group guideline version 1.3 (https://www.berlin-group.org), with some differences. The summary of differences is included in the Related documents part.

 

How does CIB PSD2 API Sandbox work?

Connect your application to the CIB Bank API Gateway at the address https://api-test.cib.hu. In the test, the CIB PSD2 API Sandbox interfaces provide fixed answers to fixed requests. Account balances do not change in the test.

 

What do the AISP, ASPSP, PISP, PSU, SCA, TPP abbreviations mean?

  • AISP: Account Information Service Provider (TPP)
  • ASPS: Account Servicing Payment Service Provider
  • PISP: Payment Initiation Service Provider (TPP)
  • PSU: Payment Service User
  • SCA: Strong Customer Authentication
  • TPP: Third-party PSD2 service provider.
PSD2 API Sandbox technical description

PSD2 API Sandbox technical description

Related document

Messages needed for Sandbox

----- Running testStep AISP.getAccountWithBalance ----------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345670?withBalance=true
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=81309366
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 81309366
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:15 GMT

{
    "account": {
        "resourceId": "re12345670",
        "iban": "HU33107005364841990131475521",
        "currency": "HUF",
        "name": "0109-123456-511",
        "product": "CIB Classic Folyószámla",
        "balances": [
            {
                "balanceAmount": {
                    "currency": "HUF",
                    "amount": 100000.00
                },
                "balanceType": "closingBooked"
            }
        ],
        "_links": {
            "balances": {
                "href": "/v1/accounts/re12345670/balances"
            },
            "transactions": {
                "href": "/v1/accounts/re12345670/transactions"
            }
        }
    }
}
----- TestStep AISP.getAccountWithBalance finished ---------------------------------------------------


----- Running testStep AISP.getAccount ---------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=61985213
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 61985213
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:15 GMT

{
    "account": {
        "resourceId": "re12345670",
        "iban": "HU33107005364841990131475521",
        "currency": "HUF",
        "name": "0109-123456-511",
        "product": "CIB Classic Folyószámla",
        "balances": [
            {
                "balanceAmount": {
                    "currency": "HUF",
                    "amount": 100000.00
                },
                "balanceType": "closingBooked"
            }
        ],
        "_links": {
            "balances": {
                "href": "/v1/accounts/re12345670/balances"
            },
            "transactions": {
                "href": "/v1/accounts/re12345670/transactions"
            }
        }
    }
}
----- TestStep AISP.getAccount finished --------------------------------------------------------------

----- Running testStep AISP.getAccountTransactions ---------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345670/transactions?bookingStatus=booked
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=31456751
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 31456751
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "resourceId": "re12345670",
        "iban": "HU33107005364841990131475521",
        "currency": "HUF"
    },
    "transactions": {
        "booked": [
            {
                "transactionId": "103",
                "bookingDate": "2019-02-09",
                "valueDate": "2019-02-09",
                "transactionAmount": {
                    "currency": "HUF",
                    "amount": 1000.00
                },
                "creditorName": "Teszt Elek",
                "creditorAccount": {
                    "iban": "HU05107010947116521950100002"
                },
                "remittanceInformationUnstructured": "forint átutalás"
            },
            {
                "transactionId": "102",
                "bookingDate": "2019-02-08",
                "valueDate": "2019-02-08",
                "transactionAmount": {
                    "currency": "HUF",
                    "amount": 200000.00
                },
                "remittanceInformationUnstructured": "fizetés"
            }
        ],
        "_links": {
            "account": {
                "href": "/v1/accounts/re12345670"
            }
        }
    }
}
----- TestStep AISP.getAccountTransactions finished --------------------------------------------------

----- Running testStep AISP.getAccounts --------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=64060084
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 64060084
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "accounts": [
        {
            "resourceId": "re12345670",
            "iban": "HU33107005364841990131475521",
            "currency": "HUF",
            "name": "0109-123456-511",
            "product": "CIB Classic Folyószámla",
            "_links": {
                "account": {
                    "href": "/v1/accounts/re12345670"
                },
                "balances": {
                    "href": "/v1/accounts/re12345670/balances"
                },
                "transactions": {
                    "href": "/v1/accounts/re12345670/transactions"
                }
            }
        }
    ]
}
----- TestStep AISP.getAccounts finished -------------------------------------------------------------


----- Running testStep AISP.getAccountBalance --------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345670/balances
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=11863791
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 11863791
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "currency": "HUF",
        "iban": "HU33107005364841990131475521"
    },
    "balances": [
        {
            "balanceAmount": {
                "currency": "HUF",
                "amount": 100000.00
            },
            "balanceType": "closingBooked"
        }
    ]
}
----- TestStep AISP.getAccountBalance finished -------------------------------------------------------



----- Running testStep AISP.getTransactionDetails ----------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345670/transactions/py12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345670
				tpp-registration-number=1234567890
				X-Request-ID=65758245
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 65758245
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "transactionsDetails": {
        "transactionId": "py12345670",
        "bookingDate": "2019-02-09",
        "valueDate": "2019-02-09",
        "transactionAmount": {
            "currency": "HUF",
            "amount": 1000.00
        },
        "creditorName": "Teszt Elek",
        "creditorAccount": {
            "iban": "HU05107010947116521950100002"
        },
        "remittanceInformationUnstructured": "forint átutalás"
    }
}
----- TestStep AISP.getTransactionDetails finished ---------------------------------------------------


----- Running testStep AISP.getAccountWithBalance ----------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345671?withBalance=true
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=66988958
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 66988958
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "resourceId": "re12345671",
        "iban": "HU05107010947116712550100002",
        "currency": "EUR",
        "name": "0109-ET9M15-501",
        "product": "EDV-CIB Deviza számla",
        "balances": [
            {
                "balanceAmount": {
                    "currency": "EUR",
                    "amount": 30000.00
                },
                "balanceType": "closingBooked"
            }
        ],
        "_links": {
            "balances": {
                "href": "/v1/accounts/re12345671/balances"
            },
            "transactions": {
                "href": "/v1/accounts/re12345671/transactions"
            }
        }
    }
}
----- TestStep AISP.getAccountWithBalance finished ---------------------------------------------------

----- Running testStep AISP.getAccount ---------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=89432036
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 89432036
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "resourceId": "re12345671",
        "iban": "HU05107010947116712550100002",
        "currency": "EUR",
        "name": "0109-ET9M15-501",
        "product": "EDV-CIB Deviza számla",
        "balances": [
            {
                "balanceAmount": {
                    "currency": "EUR",
                    "amount": 30000.00
                },
                "balanceType": "closingBooked"
            }
        ],
        "_links": {
            "balances": {
                "href": "/v1/accounts/re12345671/balances"
            },
            "transactions": {
                "href": "/v1/accounts/re12345671/transactions"
            }
        }
    }
}
----- TestStep AISP.getAccount finished --------------------------------------------------------------

----- Running testStep AISP.getAccountTransactions ---------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345671/transactions?bookingStatus=booked
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=48102245
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 48102245
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "resourceId": "re12345671",
        "iban": "HU05107010947116712550100002",
        "currency": "EUR"
    },
    "transactions": {
        "booked": [
            {
                "transactionId": "104",
                "bookingDate": "2019-02-09",
                "valueDate": "2019-02-09",
                "transactionAmount": {
                    "currency": "EUR",
                    "amount": 500.00
                },
                "creditorName": "Teszt Éva",
                "creditorAccount": {
                    "iban": "HU33107005364841990131475521"
                },
                "remittanceInformationUnstructured": "cash transfer"
            },
            {
                "transactionId": "105",
                "bookingDate": "2019-02-08",
                "valueDate": "2019-02-08",
                "transactionAmount": {
                    "currency": "EUR",
                    "amount": 200.00
                },
                "remittanceInformationUnstructured": "payment"
            }
        ],
        "_links": {
            "account": {
                "href": "/v1/accounts/re12345671"
            }
        }
    }
}
----- TestStep AISP.getAccountTransactions finished --------------------------------------------------

----- Running testStep AISP.getAccounts --------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=45950253
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 45950253
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:18 GMT

{
    "accounts": [
        {
            "resourceId": "re12345671",
            "iban": "HU05107010947116712550100002",
            "currency": "EUR",
            "name": "0109-ET9M15-501",
            "product": "EDV-CIB Deviza számla",
            "_links": {
                "account": {
                    "href": "/v1/accounts/re12345671"
                },
                "balances": {
                    "href": "/v1/accounts/re12345671/balances"
                },
                "transactions": {
                    "href": "/v1/accounts/re12345671/transactions"
                }
            }
        }
    ]
}
----- TestStep AISP.getAccounts finished -------------------------------------------------------------

----- Running testStep AISP.getAccountBalance --------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345671/balances
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=18286632
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 18286632
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "account": {
        "currency": "EUR",
        "iban": "HU05107010947116712550100002"
    },
    "balances": [
        {
            "balanceAmount": {
                "currency": "EUR",
                "amount": 30000.00
            },
            "balanceType": "closingBooked"
        }
    ]
}
----- TestStep AISP.getAccountBalance finished -------------------------------------------------------

----- Running testStep AISP.getTransactionDetails ----------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/accounts/re12345671/transactions/py12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				Consent-ID=co12345671
				tpp-registration-number=1234567890
				X-Request-ID=98896084
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 98896084
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:17 GMT

{
    "transactionsDetails": {
        "transactionId": "py12345671",
        "bookingDate": "2019-02-09",
        "valueDate": "2019-02-09",
        "transactionAmount": {
            "currency": "EUR",
            "amount": 500.00
        },
        "creditorName": "Teszt Éva",
        "creditorAccount": {
            "iban": "HU33107005364841990131475521"
        },
        "remittanceInformationUnstructured": "cash transfer"
    }
}
----- TestStep AISP.getTransactionDetails finished ---------------------------------------------------

----- Running testStep Consent.getConsentStatus ------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345670/status
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=54269595
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 54269595
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:18 GMT

{
    "consentStatus": "valid"
}
----- TestStep Consent.getConsentStatus finished -----------------------------------------------------

----- Running testStep Consent.postConsentWithSingleAccount ------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/consents
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=20789137
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "access": {
        "accounts": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "balances": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "transactions": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ]
    },
    "recurringIndicator": "true",
    "frequencyPerDay": "20",
    "validUntil": "9999-12-31",
    "combinedServiceIndicator": false
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/consents/co12345670
X-Request-ID: 20789137
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "consentStatus": "valid",
    "consentId": "co12345670",
    "_links": {
        "scaOAuth": {
            
        },
        "self": {
            "href": "/v1/consents/co12345670"
        },
        "status": {
            "href": "/v1/consents/co12345670/status"
        },
        "scaStatus": {
            "href": "/v1/consents/co12345670/authorisations/au12345670"
        }
    }
}
----- TestStep Consent.postConsentWithSingleAccount finished -----------------------------------------

----- Running testStep Consent.getConsentAuthorisation -----------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345670/authorisations/au12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=77285939
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 77285939
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "scaStatus": "psuAuthenticated"
}
----- TestStep Consent.getConsentAuthorisation finished ----------------------------------------------

----- Running testStep Consent.postConsentWithSingleAccount ------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/consents
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=32878702
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "access": {
        "accounts": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "balances": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "transactions": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ]
    },
    "recurringIndicator": "true",
    "frequencyPerDay": "20",
    "validUntil": "9999-12-31",
    "combinedServiceIndicator": false
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/consents/co12345670
X-Request-ID: 32878702
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "consentStatus": "valid",
    "consentId": "co12345670",
    "_links": {
        "scaOAuth": {
            
        },
        "self": {
            "href": "/v1/consents/co12345670"
        },
        "status": {
            "href": "/v1/consents/co12345670/status"
        },
        "scaStatus": {
            "href": "/v1/consents/co12345670/authorisations/au12345670"
        }
    }
}
----- TestStep Consent.postConsentWithSingleAccount finished -----------------------------------------

----- Running testStep Consent.getConsent ------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=87295348
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 87295348
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "access": {
        "accounts": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "balances": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ],
        "transactions": [
            {
                "iban": "HU33107005364841990131475521"
            }
        ]
    },
    "recurringIndicator": true,
    "validUntil": "2019-02-15",
    "frequencyPerDay": 20,
    "consentStatus": "valid",
    "_links": {
        "account": {
            "href": "/v1/accounts"
        }
    }
}
----- TestStep Consent.getConsent finished -----------------------------------------------------------

----- Running testStep Consent.getConsentStatus ------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345671/status
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=92303042
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 92303042
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "consentStatus": "valid"
}
----- TestStep Consent.getConsentStatus finished -----------------------------------------------------

----- Running testStep Consent.postConsentWithSingleAccount ------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/consents
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=61323790
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "access": {
        "accounts": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "balances": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "transactions": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ]
    },
    "recurringIndicator": "true",
    "frequencyPerDay": "20",
    "validUntil": "9999-12-31",
    "combinedServiceIndicator": false
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/consents/co12345671
X-Request-ID: 61323790
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "consentStatus": "valid",
    "consentId": "co12345671",
    "_links": {
        "scaOAuth": {
            
        },
        "self": {
            "href": "/v1/consents/co12345671"
        },
        "status": {
            "href": "/v1/consents/co12345671/status"
        },
        "scaStatus": {
            "href": "/v1/consents/co12345671/authorisations/au12345671"
        }
    }
}
----- TestStep Consent.postConsentWithSingleAccount finished -----------------------------------------

----- Running testStep Consent.getConsentAuthorisation -----------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345671/authorisations/au12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=98754385
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 98754385
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "scaStatus": "psuAuthenticated"
}
----- TestStep Consent.getConsentAuthorisation finished ----------------------------------------------

----- Running testStep Consent.postConsentWithSingleAccount ------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/consents
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=21212104
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "access": {
        "accounts": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "balances": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "transactions": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ]
    },
    "recurringIndicator": "true",
    "frequencyPerDay": "20",
    "validUntil": "9999-12-31",
    "combinedServiceIndicator": false
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/consents/co12345671
X-Request-ID: 21212104
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:19 GMT

{
    "consentStatus": "valid",
    "consentId": "co12345671",
    "_links": {
        "scaOAuth": {
            
        },
        "self": {
            "href": "/v1/consents/co12345671"
        },
        "status": {
            "href": "/v1/consents/co12345671/status"
        },
        "scaStatus": {
            "href": "/v1/consents/co12345671/authorisations/au12345671"
        }
    }
}
----- TestStep Consent.postConsentWithSingleAccount finished -----------------------------------------

----- Running testStep Consent.getConsent ------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/consents/co12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=35095734
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 35095734
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "access": {
        "accounts": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "balances": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ],
        "transactions": [
            {
                "iban": "HU05107010947116712550100002"
            }
        ]
    },
    "recurringIndicator": true,
    "validUntil": "2019-02-15",
    "frequencyPerDay": 20,
    "consentStatus": "valid",
    "_links": {
        "account": {
            "href": "/v1/accounts"
        }
    }
}
----- TestStep Consent.getConsent finished -----------------------------------------------------------

----- Running testStep PIISP.postFundsConfirmation ---------------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/funds-confirmation
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=78272844
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "account": {
        "iban": "HU33107005364841990131475521"
    },
    "instructedAmount": {
        "amount": 10.0,
        "currency": "HUF"
    }
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 78272844
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "fundsAvailable": true
}
----- TestStep PIISP.postFundsConfirmation finished --------------------------------------------------

----- Running testStep PIISP.postFundsConfirmation ---------------------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/funds-confirmation
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=52599646
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "account": {
        "iban": "HU05107010947116712550100002"
    },
    "instructedAmount": {
        "amount": 10.0,
        "currency": "HUF"
    }
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 52599646
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "fundsAvailable": true
}
----- TestStep PIISP.postFundsConfirmation finished --------------------------------------------------

----- Running testStep PISP.getPaymentAuthorisation --------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/hungarian-credit-transfers/py12345670/authorisations/au12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=55060810
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 55060810
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "scaStatus": "finalised"
}
----- TestStep PISP.getPaymentAuthorisation finished -------------------------------------------------

----- Running testStep PISP.postHungarianCreditTransferPayments --------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/payments/hungarian-credit-transfers
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=96034154
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "debtorAccount": {
        "iban": "HU33107005364841990131475521"
    },
    "requestedExecutionDate": "2019-03-01",
    "instructedAmount": {
        "currency": "HUF",
        "amount": "1000.00"
    },
    "creditorAccount": {
        "iban": "HU05107010947116712550100002"
    },
    "creditorName": "Teszt Elek",
    "remittanceInformationUnstructured": "forint átutalás"
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/payments/hungarian-credit-transfers/py12345670
X-Request-ID: 96034154
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "transactionStatus": "ACSP",
    "paymentId": "py12345670",
    "_links": {
        "self": {
            "href": "/v1/payments/hungarian-credit-transfers/py12345670"
        },
        "status": {
            "href": "/v1/payments/hungarian-credit-transfers/py12345670/status"
        },
        "scaStatus": {
            "href": "/v1/payments/hungarian-credit-transfers/py12345670/authorisations/au12345670"
        }
    }
}
----- TestStep PISP.postHungarianCreditTransferPayments finished -------------------------------------

----- Running testStep PISP.getPayment ---------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/hungarian-credit-transfers/py12345670
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=27241203
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 27241203
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:21 GMT

{
    "debtorAccount": {
        "iban": "HU33107005364841990131475521"
    },
    "instructedAmount": {
        "currency": "HUF",
        "amount": 1000.00
    },
    "creditorAccount": {
        "iban": "HU05107010947116712550100002"
    },
    "creditorName": "Teszt Elek",
    "remittanceInformationUnstructured": "forint átutalás"
}
----- TestStep PISP.getPayment finished --------------------------------------------------------------

----- Running testStep PISP.getPaymentStatus ---------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/hungarian-credit-transfers/py12345670/status
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=49299990
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 49299990
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "transactionStatus": "ACSP"
}
----- TestStep PISP.getPaymentStatus finished --------------------------------------------------------

----- Running testStep PISP.postCrossBorderCreditTransferPayments ------------------------------------

Request method:	POST
Request URI:	http://localhost:9083/psd2/v1/payments/cross-border-credit-transfers
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=24155228
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "debtorAccount": {
        "iban": "HU05107010947116712550100002"
    },
    "requestedExecutionDate": "2019-03-01",
    "instructedAmount": {
        "currency": "EUR",
        "amount": "500.00"
    },
    "creditorAccount": {
        "iban": "HU33107005364841990131475521"
    },
    "creditorName": "Teszt Éva",
    "remittanceInformationUnstructured": "cash transfer"
}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
ASPSP-SCA-Approach: REDIRECT
Location: /v1/payments/cross-border-credit-transfers/py12345671
X-Request-ID: 24155228
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "transactionStatus": "ACSP",
    "paymentId": "py12345671",
    "_links": {
        "self": {
            "href": "/v1/payments/cross-border-credit-transfers/py12345671"
        },
        "status": {
            "href": "/v1/payments/cross-border-credit-transfers/py12345671/status"
        },
        "scaStatus": {
            "href": "/v1/payments/cross-border-credit-transfers/py12345671/authorisations/au12345671"
        }
    }
}
----- TestStep PISP.postCrossBorderCreditTransferPayments finished -----------------------------------

----- Running testStep PISP.getPaymentAuthorisation --------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/hungarian-credit-transfers/py12345671/authorisations/au12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=95872883
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 95872883
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "scaStatus": "finalised"
}
----- TestStep PISP.getPaymentAuthorisation finished -------------------------------------------------

----- Running testStep PISP.getPayment ---------------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/cross-border-credit-transfers/py12345671
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=55978068
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 55978068
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "debtorAccount": {
        "iban": "HU05107010947116712550100002"
    },
    "instructedAmount": {
        "currency": "EUR",
        "amount": 500.00
    },
    "creditorAccount": {
        "iban": "HU33107005364841990131475521"
    },
    "creditorName": "Teszt Éva",
    "remittanceInformationUnstructured": "cash transfer"
}
----- TestStep PISP.getPayment finished --------------------------------------------------------------

----- Running testStep PISP.getPaymentStatus ---------------------------------------------------------

Request method:	GET
Request URI:	http://localhost:9083/psd2/v1/payments/cross-border-credit-transfers/py12345671/status
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	<none>
Headers:		Accept=*/*
				tpp-registration-number=1234567890
				X-Request-ID=32372753
				PSU-IP-Address=111.222.333.444
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:			<none>
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Content-Type: application/json
X-Request-ID: 32372753
Content-Language: en-US
Transfer-Encoding: chunked
Date: Fri, 08 Feb 2019 14:53:20 GMT

{
    "transactionStatus": "ACSP"
}
----- TestStep PISP.getPaymentStatus finished --------------------------------------------------------
How can we help?

How can we help?

 

If you have any question about the CIB PSD2 API Sandbox please send us an email to PSD2_support@cib.hu and we answer you to the e-mail address you have provided. Please check the accuracy of the e-mail address provided. We try to answer as soon as possible. Thank you for your patience.

Need help?

CIB24 - Nonstop telephone customer service

Find the right assistance for you

CIB24 (+36 1) 4 242 242 2

9. Card Blocking and Activation
Card Block
9 1
Card Activation
9 2
1. Retail
Accounts
1 1
Cards
1 2
Savings and investment
1 3
Loans
1 4
Internetbank
1 5
Leasing
1 6
Insurance
1 7
2. Business
Accounts
2 1
Cards
2 2
Savings and investment, eBroker
2 3
Loans
2 4
Internetbank
2 5
Leasing
2 6
Insurance
2 7
3. English menu
For English menu
3
4. For not customers
Loans and Leasing
4 1
Retail services
4 2
Business services
4 3
Call Me Chat

The CIB website uses cookies to ensure you get the best browsing experience. By clicking on Accept all cookies, you agree upon storing the cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. (Cookie Policy)