Create

The API allows the TPP to ask an PASP to create a new payment-access-consent resource.

CURL

curl -i  \ 
 -H "Authorization: Bearer authorization" \ 
 -H "Content-Type: application/json" \ 
 -H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \ 
 -H "Accept: application/json" \ 
 -H "x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K" \ 
 -H "Idempotency-Key: da7c525d-9ec0-4b28-aae5-e97f6f39dfbd" \ 
 -H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \ 
 -H "x-fapi-customer-ip-address: 104.25.212.99" \ 
 -d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.eyJEYXRhIjp7IkF1dGhvcmlzYXRpb24iOnsiQXV0aG9yaXNhdGlvblR5cGUiOiJUQkQiLCJDb21wbGV0aW9uRGF0ZVRpbWUiOiJUQkQifSwiSW5pdGlhdGlvbiI6eyJJbnN0cnVjdGlvbklkZW50aWZpY2F0aW9uIjoiQU5TTTAyMyIsIkVuZFRvRW5kSWRlbnRpZmljYXRpb24iOiJGUkVTQ08uMjEzMDIuR0ZYLjM3IiwiTG9jYWxJbnN0cnVtZW50IjoiVUsuT0JJRS5TV0lGVCIsIkluc3RydWN0aW9uUHJpb3JpdHkiOiJVcmdlbnQiLCJQdXJwb3NlIjoiVEJEIiwiQ2hhcmdlQmVhcmVyIjoiVEJEIiwiQ3VycmVuY3lPZlRyYW5zZmVyIjoiRVVSIiwiSW5zdHJ1Y3RlZEFtb3VudCI6eyJBbW91bnQiOiIyMC4wMCIsIkN1cnJlbmN5IjoiR0JQIn0sIkV4Y2hhbmdlUmF0ZUluZm9ybWF0aW9uIjp7IlVuaXRDdXJyZW5jeSI6IkVVUiIsIkV4Y2hhbmdlUmF0ZSI6IjAuOTkiLCJSYXRlVHlwZSI6IlRCRCIsIkNvbnRyYWN0SWRlbnRpZmljYXRpb24iOiJUQkQifSwiQ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saXZlcnlBZGRyZXNzIjp7IkFkZHJlc3NMaW5lIjpbIjEwIERvd25pbmcgU3QsIFdlc3RtaW5zdGVyLCBMb25kb24gU1cxQSAyQUEsIFVuaXRlZCBLaW5nZG9tIl0sIlN0cmVldE5hbWUiOiJTaXIgR2VvcmdlIERvd25pbmciLCJCdWlsZGluZ051bWJlciI6IjEwIiwiUG9zdENvZGUiOiJTVzFBIDJBQSIsIlRvd25OYW1lIjoiQ2l0eSBvZiBXZXN0bWluc3RlciBMb25kb24sIiwiQ291bnRyeVN1YkRpdmlzaW9uIjpbIkxvbmRvbiJdLCJDb3VudHJ5IjoiR0IifX19.gVnUtfO42G4E57DjB0vHm_Sqrt_FCXMCp4K96zVAJLTgl163-Pax6CocioDCmHvv20o_rwRM_qJ6Ive0nnddzPHuEkF_fxQ14F_VVTqgvugfA_sxHsTyM7aPOoSvBkJ0e2xnwaZhjTV6f-hC6vDRLZ8D7MuEtB2cs76RXNSDVRXc5FH5CIx0VqjxoCIGCRl7t4Auel6cVEAibp6mbHGPCtl9RDdzhwnasZZu2XNEL0Oatc12A1SuiRLfnYgF3_XL2DgA-_LCWbqKKYT1olF0HuYX0_znLWh3kTLuGZWpRxJaeJqE7naisSJ5GoBBZD-sy-qMBjbmZ8TZoi3gHYwHZQ' \ 
-X POST "/api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product"

Example of request

Example of response

Request

POST /api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product

Headers
Header Type Description
Content-Type string, required The media type of the body of the request. Default value: application/json Can raise: FieldInvalid
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id. Can raise: FieldInvalid
Accept string, optional Media type that is acceptable for the response. Can raise: FieldInvalid
x-fapi-auth-date string, optional The time when the PSU last logged in with the TPP. Can raise: FieldInvalid
x-fapi-customer-ip-address string, optional The PSU's IP address if the PSU is currently logged in with the TPP. Can raise: FieldInvalid
Authorization string, required Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden
x-jws-signature string, optional A detached JWS signature of the body of the payload.
Idempotency-Key string, optional Unique uuid used to recognize subsequent retries of the same request valid for 24 hours. Allowed length: max: 40 characters
Request parameters
Response headers
Header Type Description
Content-Type string, required The media type of the body of the request.
x-fapi-interaction-id string, required An RFC4122 UID used as a correlation Id. If provided, the PASP must "play back" this value in the x-fapi-interaction-id response header.
Retry-After integer, optional Amount of time in seconds after which Salt Edge OB KSA Compliance Solution resends the previously failed request.
Response

Upon successful request, 201 status code will be returned. See ‘Related Errors’ table for other possibilities.


Related Errors
Class Code Description
FieldInvalid 400 An invalid value is supplied in the field. More details in error_message.
UnsupportedCurrency 400 The currency is not supported.
CountryNameInvalid 400 Country doesn't exist or is invalid. Expected alpha 2 ISO3166 format.
ResourceNotFound 400 Specified resource doesn't exist.
UnsupportedFrequency 400 Specified frequency is unsupported.
HeaderMissing 400 A required HTTP header has not been provided.
HeaderInvalid 400 An invalid value is supplied in the HTTP header.
Forbidden 403 Action is forbidden. More details in error_message.

Show

The API allows the TPP to ask an PASP to show a payment-access-consent resource.

CURL

curl -i  \ 
 -H "Authorization: Bearer authorization" \ 
 -H "Content-Type: application/json" \ 
 -H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \ 
 -H "Accept: application/json" \ 
 -H "x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K" \ 
 -H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \ 
 -H "x-fapi-customer-ip-address: 104.25.212.99" \ 
 -d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.e30.pT4RaasxfUJeh5Cv0erZiWugxBE6-qb52gWJzYtIomX-r2xJdYF5yTMNlzjbugO26hpIRRFAFN1fSXDuGVscy0QCW4g_yh8duFXU4lwSlACl_PQ3QaD6-W2BAhZroiCAHy7YrIKzMGJQImtgv-BYS2FhZmxL64jy4Wn2JeOLJT_MvBkgD2u3KXPR_Bx_UmLDhA548JSvuCnEbd8SMFbDb0hMCNAh9Z_QN7X_7gHxUnOAxQT_h2FwK9BTv2vG_eFAenlFrQssqkcOls1yPX-GMJA082JGy3u54lqd81z-SsKvxFGSOFlMlCPlzEX5JVqh-g-iYynggbvZfs2Ui93X7Q' \ 
-X GET "/api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product/:consent_id"

Example of response

Request

GET /api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product/:consent_id

Headers
Header Type Description
Content-Type string, required The media type of the body of the request. Default value: application/json Can raise: FieldInvalid
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id. Can raise: FieldInvalid
Accept string, optional Media type that is acceptable for the response. Can raise: FieldInvalid
x-fapi-auth-date string, optional The time when the PSU last logged in with the TPP. Can raise: FieldInvalid
x-fapi-customer-ip-address string, optional The PSU's IP address if the PSU is currently logged in with the TPP. Can raise: FieldInvalid
Authorization string, required Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden
Request parameters
provider_code (path)
string, required
Human readable Provider identifier. Can raise: FieldInvalid, ResourceNotFound
consent_payment_product (path)
string, required
The addressed consent payment resource. Allowed values: domestic-payment-consents, international-payment-consents Can raise: FieldInvalid, ResourceNotFound
consent_id (path)
string, required
The consent identifier assigned to the created resource. Can raise: FieldInvalid, ResourceNotFound
Response headers
Header Type Description
Content-Type string, required The media type of the body of the request.
x-fapi-interaction-id string, required An RFC4122 UID used as a correlation Id. If provided, the PASP must "play back" this value in the x-fapi-interaction-id response header.
Retry-After integer, optional Amount of time in seconds after which Salt Edge OB KSA Compliance Solution resends the previously failed request.
Response

Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.


Related Errors
Class Code Description
FieldInvalid 400 An invalid value is supplied in the field. More details in error_message.
ResourceNotFound 400 Specified resource doesn't exist.
HeaderMissing 400 A required HTTP header has not been provided.
HeaderInvalid 400 An invalid value is supplied in the HTTP header.
Forbidden 403 Action is forbidden. More details in error_message.

Funds Confirmation

The API allows the TPP to ask an PASP to check funds on a payment-access-consent resource.

CURL

curl -i  \ 
 -H "Authorization: Bearer authorization" \ 
 -H "Content-Type: application/json" \ 
 -H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \ 
 -H "Accept: application/json" \ 
 -H "x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K" \ 
 -H "Idempotency-Key: da7c525d-9ec0-4b28-aae5-e97f6f39dfbd" \ 
 -H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \ 
 -H "x-fapi-customer-ip-address: 104.25.212.99" \ 
 -d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.e30.ZMd86j_0EKGv-siS_zDkzo1vlTk-Um65xReDBYpuA6GX6Nkvsnx6_x5VN7FN4SZQBEdyPunnzZIKOSo1yOenAoxrrzpcL7ZPeaLz6khQBNWEYajMsBK7uhUrvh_ov_qU3Bi9Ks73QOqbQ7PXJeHlTrPzOxAnmykX-05qn6oVu2YsW6zbd4N2nK5bZs1PimmTYQC7RnRg6tNDi5vrK0JCacDnUxWs6nbWnBPqrETtnzwLHQ91quFFN_5LrszzWW3DhIqw979Ar7i2L0qejHeF9EfoEo0DCZm8pNlHygkK307lxQ2sBavTohvRdUPYJ6usKDoTYjkwBiby5tHtFMs0Ng' \ 
-X GET "/api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product/:consent_id/funds-confirmation"

Example of response

{"Data":{"FundsAvailableResult":{"FundsAvailable":"true","FundsAvailableDateTime":"2017-06-05T15:15:13+00:00"},"SupplementaryData":{}}}
Request

GET /api/:provider_code/open-banking/v3.1/pisp/:consent_payment_product/:consent_id/funds-confirmation

Headers
Header Type Description
Content-Type string, required The media type of the body of the request. Default value: application/json Can raise: FieldInvalid
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id. Can raise: FieldInvalid
Accept string, optional Media type that is acceptable for the response. Can raise: FieldInvalid
x-fapi-auth-date string, optional The time when the PSU last logged in with the TPP. Can raise: FieldInvalid
x-fapi-customer-ip-address string, optional The PSU's IP address if the PSU is currently logged in with the TPP. Can raise: FieldInvalid
Authorization string, required Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden
Request parameters
provider_code (path)
string, required
Human readable Provider identifier. Can raise: FieldInvalid, ResourceNotFound
consent_payment_product (path)
string, required
The addressed consent payment resource. Allowed values: domestic-payment-consents, international-payment-consents Can raise: FieldInvalid, ResourceNotFound
consent_id (path)
string, required
The consent identifier assigned to the created resource. Can raise: FieldInvalid, ResourceNotFound, Unauthorized, ResourceInvalidConsentStatus
Response headers
Header Type Description
Content-Type string, required The media type of the body of the request.
x-fapi-interaction-id string, required An RFC4122 UID used as a correlation Id. If provided, the PASP must "play back" this value in the x-fapi-interaction-id response header.
Retry-After integer, optional Amount of time in seconds after which Salt Edge OB KSA Compliance Solution resends the previously failed request.
Response

Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.


Related Errors
Class Code Description
FieldInvalid 400 An invalid value is supplied in the field. More details in error_message.
ResourceNotFound 400 Specified resource doesn't exist.
ResourceInvalidConsentStatus 400 The action can't be performed with current status of consent.
HeaderMissing 400 A required HTTP header has not been provided.
HeaderInvalid 400 An invalid value is supplied in the HTTP header.
Unauthorized 401 Unauthorized access.
Forbidden 403 Action is forbidden. More details in error_message.

Create

The API allows the TPP to ask an PASP to create a new payment.

CURL

curl -i  \ 
 -H "Authorization: Bearer authorization" \ 
 -H "Content-Type: application/json" \ 
 -H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \ 
 -H "Accept: application/json" \ 
 -H "x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K" \ 
 -H "Idempotency-Key: da7c525d-9ec0-4b28-aae5-e97f6f39dfbd" \ 
 -H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \ 
 -H "x-fapi-customer-ip-address: 104.25.212.99" \ 
 -d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.eyJEYXRhIjp7IkNvbnNlbnRJZCI6InN0cmluZyIsIkluaXRpYXRpb24iOnsiRnJlcXVlbmN5IjoiRXZyeURheTowMjowMyIsIkZpcnN0UGF5bWVudERhdGVUaW1lIjoiMjAxNy0wNi0wNVQxNToxNToxMyswMDowMCIsIkZpcnN0UGF5bWVudEFtb3VudCI6eyJBbW91bnQiOiIyMC4wMCIsIkN1cnJlbmN5IjoiR0JQIn0sIkZpbmFsUGF5bWVudEFtb3VudCI6eyJBbW91bnQiOiIyMC4wMCIsIkN1cnJlbmN5IjoiR0JQIn0sIlJlY3VycmluZ1BheW1lbnRBbW91bnQiOnsiQW1vdW50IjoiMjAuMDAiLCJDdXJyZW5jeSI6IkdCUCJ9LCJEZWJ0b3JBY2NvdW50Ijp7IlNjaGVtZU5hbWUiOiJVSy5PQklFLlNvcnRDb2RlQWNjb3VudE51bWJlciIsIklkZW50aWZpY2F0aW9uIjoiMTEyODAwMDEyMzQ1NjciLCJOYW1lIjoiQW5kcmVhIFNtaXRoIiwiU2Vjb25kYXJ5SWRlbnRpZmljYXRpb24iOiIwMDAyIn0sIkNyZWRpdG9yQWNjb3VudCI6eyJTY2hlbWVOYW1lIjoiVUsuT0JJRS5Tb3J0Q29kZUFjY291bnROdW1iZXIiLCJJZGVudGlmaWNhdGlvbiI6IjA4MDgwMDIxM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bmdOdW1iZXIiOiIyNyIsIlBvc3RDb2RlIjoiR1UzMSAyWloiLCJUb3duTmFtZSI6IlNwYXJzaG9sdCIsIkNvdW50cnlTdWJEaXZpc2lvbiI6Ildlc3NleCIsIkNvdW50cnkiOiJHQiJ9fX0.kbTmmKHY1sjbVvDwTgw0BTNBsbVldwPoguF2Q7YvyuJEGw5SqHFosOQNsW-KrnBrMKQCyQ_HhdQYpT7_s1D9A8gA5bDDI89P_CPaDPqtL_2jEYQgS4RG0y1RqCkhgwV9Rl10AiCulEkqcGUhwGkyGyXBiSq2a1kWkX1VMvR1A66IliVGHlJ5bcw2FlHna5p6UmkPcYMe4Rbenvdt69Q0_2DsYZ4YMrnq9JdnBHAJQWTRyaqHkYyFeXn7ULTm47dyWEPTZHfHLBECLh4hfaXM7IllIX_HnPilwa6_ta9hhk8-IwVLlD9wj5YQXZlKzkxFgvWFzoyacglp5C7FTp-iaA' \ 
-X POST "/api/:provider_code/open-banking/v3.1/pisp/:payment_product"

Example of request

Example of response

Request

POST /api/:provider_code/open-banking/v3.1/pisp/:payment_product

Headers
Header Type Description
Content-Type string, required The media type of the body of the request. Default value: application/json Can raise: FieldInvalid
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id.
Accept string, optional Media type that is acceptable for the response.
x-fapi-auth-date string, optional The time when the PSU last logged in with the TPP.
x-fapi-customer-ip-address string, optional The PSU's IP address if the PSU is currently logged in with the TPP.
Authorization string, required Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden
x-jws-signature string, optional A detached JWS signature of the body of the payload.
Idempotency-Key string, optional Unique uuid used to recognize subsequent retries of the same request valid for 24 hours. Allowed length: max: 40 characters
Request parameters
Response headers
Header Type Description
Content-Type string, required The media type of the body of the request.
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id. If provided, the PASP must "play back" this value in the x-fapi-interaction-id response header.
Retry-After integer, optional Amount of time in seconds after which Salt Edge OB KSA Compliance Solution resends the previously failed request.
x-jws-signature string, optional A detached JWS signature of the body of the payload.
Response

Upon successful request, 201 status code will be returned. See ‘Related Errors’ table for other possibilities.


Related Errors
Class Code Description
FieldInvalid 400 An invalid value is supplied in the field. More details in error_message.
ResourceNotFound 400 Specified resource doesn't exist.
ResourceInvalidConsentStatus 400 The action can't be performed with current status of consent.
UnsupportedCurrency 400 The currency is not supported.
CountryNameInvalid 400 Country doesn't exist or is invalid. Expected alpha 2 ISO3166 format.
UnsupportedFrequency 400 Specified frequency is unsupported.
HeaderMissing 400 A required HTTP header has not been provided.
HeaderInvalid 400 An invalid value is supplied in the HTTP header.
Unauthorized 401 Unauthorized access.
Forbidden 403 Action is forbidden. More details in error_message.

Show

The API allows the TPP to ask an PASP to show a payment.

CURL

curl -i  \ 
 -H "Authorization: Bearer authorization" \ 
 -H "Content-Type: application/json" \ 
 -H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \ 
 -H "Accept: application/json" \ 
 -H "x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K" \ 
 -H "Idempotency-Key: da7c525d-9ec0-4b28-aae5-e97f6f39dfbd" \ 
 -H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \ 
 -H "x-fapi-customer-ip-address: 104.25.212.99" \ 
 -d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.e30.qw8I2esrnKcCTCT4AoprmZ0yLyVq2cz-Ev3HeAAodBH4Rg1GQ5h-Utc_l2TEIG4P2BqHDttaQdjG5MY9gmy-07DR4Wsg8cVPNsWSAYgZ5JdwK_FpuUTzQYlO3QBAYqVNV98GTWF9aIatpGYaLE74zx4XUioi3AxBBA_vHBh2c3tKhWkQGvPCcv4z6oj1k_tIhZw6n1VzVqn-F9BPBZB6GpWf-z4_5xwh-BSpMkZN5PDlLFFcQHkvQ9ik9zBPtZ8l3snYzmjYS-3VY4fhs4mZ508SllKqMQRdsgTvhpb8yBHUd5C08usq0gsrayzIpj7nulsdtUjGTAKJvHXagNRAGQ' \ 
-X GET "/api/:provider_code/open-banking/v3.1/pisp/:payment_product/:payment_id"

Example of response

Request

GET /api/:provider_code/open-banking/v3.1/pisp/:payment_product/:payment_id

Headers
Header Type Description
Content-Type string, required The media type of the body of the request. Default value: application/json Can raise: FieldInvalid
x-fapi-interaction-id string, optional An RFC4122 UID used as a correlation Id. Can raise: FieldInvalid
Accept string, optional Media type that is acceptable for the response. Can raise: FieldInvalid
x-fapi-auth-date string, optional The time when the PSU last logged in with the TPP. Can raise: FieldInvalid
x-fapi-customer-ip-address string, optional The PSU's IP address if the PSU is currently logged in with the TPP. Can raise: FieldInvalid
Authorization string, required Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden
Request parameters
provider_code (path)
string, required
Human readable Provider identifier. Can raise: FieldInvalid, ResourceNotFound
payment_product (path)
string, required
The addressed payment resource. Allowed values: domestic-payments, international-payments Can raise: FieldInvalid, ResourceNotFound
payment_id (path)
string, required
Unique identification as assigned by the PASP to identify the domestic payment resource. Can raise: FieldInvalid, ResourceNotFound
Response headers
Header Type Description
Content-Type string, required The media type of the body of the request.
x-fapi-interaction-id string, required An RFC4122 UID used as a correlation Id. If provided, the PASP must "play back" this value in the x-fapi-interaction-id response header.
Retry-After integer, optional Amount of time in seconds after which Salt Edge OB KSA Compliance Solution resends the previously failed request.
Response

Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.


Related Errors
Class Code Description
FieldInvalid 400 An invalid value is supplied in the field. More details in error_message.
ResourceNotFound 400 Specified resource doesn't exist.
HeaderMissing 400 A required HTTP header has not been provided.
HeaderInvalid 400 An invalid value is supplied in the HTTP header.
Forbidden 403 Action is forbidden. More details in error_message.