Create

The API allows the TPP to ask an ASPSP 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.eyJEYXRhIjp7IlBlcm1pc3Npb24iOiJDcmVhdGUiLCJBdXRob3Jpc2F0aW9uIjp7IkF1dGhvcmlzYXRpb25UeXBlIjoiQXV0aCIsIkNvbXBsZXRpb25EYXRlVGltZSI6IjIwMTctMDYtMDVUMTU6MTU6MTMrMDA6MDAifSwiU0NBU3VwcG9ydERhdGEiOnsiQXBwbGllZEF1dGhlbnRpY2F0aW9uQXBwcm9hY2giOiJBcHBsaWVkQXV0aGVudGljYXRpb25BcHByb2FjaCIsIlJlZmVyZW5jZVBheW1lbnRPcmRlcklkIjoiMTU2NDUyIiwiUmVxdWVzdGVkU0NBRXhlbXB0aW9uVHlwZSI6IlJlcXVlc3RlZFNDQUV4ZW1wdGlvblR5cGUifSwiSW5pdGlhdGlvbiI6eyJJbnN0cnVjdGlvbklkZW50aWZpY2F0aW9uIjoiQU5TTTAyMyIsIkVuZFRvRW5kSWRlbnRpZmljYXRpb24iOiJGUkVTQ08uMjEzMDIuR0ZYLjM3IiwiUmVxdWVzdGVkRXhlY3V0aW9uRGF0ZVRpbWUiOiIyMDMzLTA4LTA2VDAwOjAwOjAwKzAwOjAwIiwiTG9jYWxJbnN0cnVtZW50IjoiVUsuT0JJRS5GUFMiLCJJbnN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DTy0wMzciLCJVbnN0cnVjdHVyZWQiOiJJbnRlcm5hbCBvcHMgY29kZSA1MTIwMTAzIn0sIlN1cHBsZW1lbnRhcnlEYXRhIjp7fX19LCJSaXNrIjp7IlBheW1lbnRDb250ZXh0Q29kZSI6IkVjb21tZXJjZUdvb2RzIiwiTWVyY2hhbnRDYXRlZ29yeUNvZGUiOiI1OTY3IiwiTWVyY2hhbnRDdXN0b21lcklkZW50aWZpY2F0aW9uIjoiMDUzNTk4NjUzMjU0IiwiRGVsaXZlcnlBZGRyZXNzIjp7IkFkZHJlc3NMaW5lIjpbIkZsYXQgNyIsIkFjYWNpYSBMb2RnZSJdLCJTdHJlZXROYW1lIjoiQWNhY2lhIEF2ZW51ZSIsIkJ1aWxkaW5nTnVtYmVyIjoiMjciLCJQb3N0Q29kZSI6IkdVMzEgMlpaIiwiVG93bk5hbWUiOiJTcGFyc2hvbHQiLCJDb3VudHJ5U3ViRGl2aXNpb24iOiJXZXNzZXgiLCJDb3VudHJ5IjoiR0IifX19.RrD93ZMhHEx0qRqEEtO0KzEzdlUqioRpFXmz8tsSarsF_KRkKj5ioBgLLsGsDwtjzF4FT2Xetn8vCjinrg7_SKUiGlJZnH0NnKFIiS0qlyi2gWUZZkSY5g79UMBa8bKD-BMyF4GO-4gtV8Mc3T_m_-vPfY8bdQoPCL7NHzu7XhjvbImx14bSELyaV512OXu8828KBAqq1-meYbY5PKoZNSH0Cpf3nOeZf6lPklOOSVAmaah_Xte0NanwbVVPb3FbbrStdKGHdp3rgJyrrpYIGPexnl-CSG_k_iML4Q1x7dgpULoSLDXHNFVckv4rxE54GGu9cQq2ACXfqHs4VIhmhw' \ 
-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 ASPSP 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 PSD2 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 ASPSP 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.Si6UM3u2dKq1NRmpqKzvlXycNY3x-6dMk_stcjGd0GUwwpLDP7cDlAvjiw82jh-sHOmOv-zesTmctB64so2iCuOj3t0Ylfy_9xsh-mEWjvSxHu_br1vTff-J5SibYkeTttgmrImi2gj-2olC83jJfhgHLuzOvnKoWcqRE_7IBNSmHHmDrmoMAoZmhH83--wemFE3cQdh0gyAWWvN5T7U7w48ZBLPZ91ku1Topz06_s78mRgHfjTzsRW7dVSlFSbZsYvcCMArw1e5xro1wj0NMdm8yUU--cYvtqyb2eToxUZMf_83Gl9viVRNzcQamkFzhtsEkd7oFViQUZGNGyfM0g' \ 
-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 ASPSP 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 PSD2 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 ASPSP 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.hnHyhgpYzJEiN2E1hUyfocFcpHBXv-x0DTI-CCTjYCK_tdJPve9dKKCeE_D5EvAK1avxMugIcjCGABW11rLN_h-9Dl2wwAVVXAMTNS3LK9sLOy2eXgTaDRNa0Y4UIULcYPF-HiXnwnWzmzpgBoXx-eTs313VHjjodoUYNqZuWOuh3ek1TWM5TNQi375NTEI7XD_HPEfa-CKXXNfo3cvwuaeyvCd7vFcHPTfRD8-9WRpM8mfq0DfTaFL6_G96IxhIxgscaagWUO98Duz1r0iTRulEwqH-E0BfEFCx3BftBJ9kuiT5cNQVxrlWb7MVukZtoeBzuKyCYBkZjGn5EL8gIw' \ 
-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 ASPSP 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 PSD2 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 ASPSP 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.eyJEYXRhIjp7IkNvbnNlbnRJZCI6IjU4OTIzIiwiSW5pdGlhdGlvbiI6eyJJbnN0cnVjdGlvbklkZW50aWZpY2F0aW9uIjoiQUNNRTQxMiIsIkVuZFRvRW5kSWRlbnRpZmljYXRpb24iOiJGUkVTQ08uMjEzMDIuR0ZYLjIwIiwiTG9jYWxJbnN0cnVtZW50IjoiVUsuT0JJRS5TV0lGVCIsIkluc3RydWN0aW9uUHJpb3JpdHkiOiJOb3JtYWwiLCJQdXJwb3NlIjoic3RyaW5nIiwiQ2hhcmdlQmVhcmVyIjoic3RyaW5nIiwiQ3VycmVuY3lPZlRyYW5zZmVyIjoiRVVSIiwiSW5zdHJ1Y3RlZEFtb3VudCI6eyJBbW91bnQiOiIxNjUuODgiLCJDdXJyZW5jeSI6IkdCUCJ9LCJFeGNoYW5nZVJhdGVJbmZvcm1hdGlvbiI6eyJVbml0Q3VycmVuY3kiOiJFVVIiLCJFeGNoYW5nZVJ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joic3RyaW5nIiwiVG93bk5hbWUiOiJzdHJpbmciLCJDb3VudHJ5U3ViRGl2aXNpb24iOiJzdHJpbmciLCJDb3VudHJ5IjoiR0IifX19.E6CFJ5cdzCfvpy_o_Xj3iFepdU3M6McgCGsgB70kVTAvHN_WgJN9ppF5MMbZhdsnVcjnX-eUzD9ukv9Om0BCl-AU-1AhAi8BnmwRs1HxLFnKZpUoqUGOaoKocWBpqWuYA2DJbcJeq7LJ-pKI1t_HICpAYBiZEEFP1g-TaMNsisu418CAi7UwZv4CKPJjAgcziPQAnv2ENXp04dPiH4IbidARxh12EqyncyKp0PMLSHH1nd_MDOghv4rRHCDxamixNfmW_d4x4lPqfVndAJDNYwTsVNnOvwXRDSBv04MV07vE8pAfBWSklkbycXo-Mcfic0xAYjAbowqHl6yzcPbObA' \ 
-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 ASPSP 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 PSD2 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 ASPSP 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.ckF1IPdxAEQW5oY4Xi5d2ETZ_JtLSF6B63jgeH7FZu9kKG_s9-p6zIO3i8mjzM5l8mwDeURMLBtR_v-vr9cP50L2x7kk7hRmNkSDExv93cHad8wqqn_Kf0-kvpK9R8s7eeWqYanl3tipkJl7uhWWwObM6FqHtahGsy5cDHFTXHoCkogQnOb40krDRqu0rp5FTL_DlsT6TvpYzZmNnfnhXnBmxB_Llxc3aC4Qn9UnfdtzZ_B1XXFEKw8Q6SzwQR_j2QMsPNZGxeCjtnENdetJtoe32qvw1hNUw4I7PGIzPcrHLGxvZFXhoCdhVXEvsnm0JC4qIRp-zWQv4UHMtydrew' \ 
-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 ASPSP 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 ASPSP 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 PSD2 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.

Purpose Of Remittance Codes

Remittance information explaining the purpose of transaction

Code Description
ADVERTISING_EXPENSES Advertising and/or public relations related expenses
ADVISORY_FEES Fees for advisory or consulting service
BUSINESS_INSURANCE Business related insurance payment
COMPUTER_SERVICES Computer service
CONSTRUCTION_EXPENSES Construction expenses
DELIVERY_FEES Delivery fees
EDUCATION Education
EXPORTED_GOODS Payments for exported goods
FAMILY_SUPPORT Family support
FUND_INVESTMENT Fund investment
GIFT_AND_DONATION Gift and other donations
HOTEL_ACCOMMODATION Hotel accommodation
INFLUENCER_PAYMENT Payment of Influencer
INSURANCE_CLAIMS Insurance claims payment
LIBERALIZED_REMITTANCE Liberalized remittance
LOAN_PAYMENT Payment of loans
MAINTENANCE_EXPENSES Maintenance or other expenses
MEDICAL_TREATMENT Medical treatment
OFFICE_EXPENSES Office expenses
OTHER Other purposes
OTHER_FEES Broker, commitment, guarantee and other fees
PERSONAL_TRANSFER Personal transfer
PROPERTY_PURCHASE Residential property purchase
PROPERTY_RENTAL Property rental payment
REWARD_PAYMENT Payment of rewards
ROYALTY_FEES Royalty, trademark, patent and copyright fees
SALARY_PAYMENT Payment of salary
SERVICE_CHARGES Payment for services
SHARES_INVESTMENT Investment in shares
SMALL_VALUE_REMITTANCE Small value remittance
TAX_PAYMENT Tax payment
TRANSPORTATION_FEES Transportation fees
TRAVEL Travel
UTILITY_BILLS Utility bills