{"swagger":"2.0","info":{"title":"Open Bank Project API","description":"An Open Source API for Banks. (c) TESOBE GmbH. 2011 - 2026. Licensed under the AGPL and commercial licences.","contact":{"name":"TESOBE GmbH. / Open Bank Project","url":"https://openbankproject.com","email":"contact@tesobe.com"},"version":"v5.1.0"},"host":"obp-api-sandbox.nmbbank.co.tz","basePath":"/","schemes":["http","https"],"securityDefinitions":{"directLogin":{"type":"apiKey","description":"Direct Login authentication. POST to /obp/v6.0.0/my/logins/direct with header 'DirectLogin: username=YOUR_USERNAME, password=YOUR_PASSWORD, consumer_key=YOUR_CONSUMER_KEY' to obtain a token. Then use header 'DirectLogin: token=YOUR_TOKEN' on subsequent requests. See the OpenAPI 3.1 spec for full details.","in":"header","name":"DirectLogin"},"gatewayLogin":{"type":"apiKey","description":"Gateway Login authentication. The gateway sends a JWT in the Authorization header signed with a pre-shared secret. See the OpenAPI 3.1 spec for full details.","in":"header","name":"Authorization"}},"security":[{"directLogin":[],"gatewayLogin":[]}],"paths":{"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/ACCOUNT_OTP/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (ACCOUNT_OTP)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>When using ACCOUNT, the payee is set in the request body.</p><p>Money goes into the BANK_ID and ACCOUNT_ID specified in the request body.</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p>ACCOUNT_OTP:</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p><strong>JSON request body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestAccountOtp","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyJsonV200 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyJsonV200"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/AGENT_CASH_WITHDRAWAL/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (AGENT_CASH_WITHDRAWAL)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Either the <code>from</code> or the <code>to</code> field must be filled. Those fields refers to the information about the party that will be refunded.</p><p>In case the <code>from</code> object is used, it means that the refund comes from the part that sent you a transaction.<br />In the <code>from</code> object, you have two choices :<br />- Use <code>bank_id</code> and <code>account_id</code> fields if the other account is registered on the OBP-API<br />- Use the <code>counterparty_id</code> field in case the counterparty account is out of the OBP-API</p><p>In case the <code>to</code> object is used, it means you send a request to a counterparty to ask for a refund on a previous transaction you sent.<br />(This case is not managed by the OBP-API and require an external adapter)</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p>AGENT_CASH_WITHDRAWAL: AGENT_CASH_WITHDRAWAL</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p><strong>JSON request body fields:</strong></p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#future_date\">future_date</a>: 20200127</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestAgentCashWithDrawal","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyAgentJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyAgentJsonV400"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/COUNTERPARTY/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (COUNTERPARTY)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>When using a COUNTERPARTY to create a Transaction Request, specify the counterparty_id in the body of the request.<br />The routing details of the counterparty will be forwarded to the Core Banking System (CBS) for the transfer.</p><p>COUNTERPARTY Transaction Requests are used for Variable Recurring Payments (VRP). Use the following <a href=\"http://localhost:5174/operationid/OBPv5.1.0-createVRPConsentRequest\">endpoint</a> to create a consent for VRPs.</p><p>For a general introduction to Counterparties in OBP, see <a href=\"http://localhost:5174/glossary#Counterparties\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>COUNTERPARTY:</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#RegulatedEntity.attribute_type\"><strong>attribute_type</strong></a>: STRING</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p><a href=\"/glossary#future_date\">future_date</a>: 20200127</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestCounterparty","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyCounterpartyJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyCounterpartyJSON"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/FREE_FORM/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)"],"summary":"Create Transaction Request (FREE_FORM)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>FREE_FORM:</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestFreeForm","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyFreeFormJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyFreeFormJSON"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/REFUND/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (REFUND)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Either the <code>from</code> or the <code>to</code> field must be filled. Those fields refers to the information about the party that will be refunded.</p><p>In case the <code>from</code> object is used, it means that the refund comes from the part that sent you a transaction.<br />In the <code>from</code> object, you have two choices :<br />- Use <code>bank_id</code> and <code>account_id</code> fields if the other account is registered on the OBP-API<br />- Use the <code>counterparty_id</code> field in case the counterparty account is out of the OBP-API</p><p>In case the <code>to</code> object is used, it means you send a request to a counterparty to ask for a refund on a previous transaction you sent.<br />(This case is not managed by the OBP-API and require an external adapter)</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>REFUND: REFUND</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>reason_code</strong>: reason_code</p><p><strong>refund</strong>: refund</p><p><a href=\"/glossary#Transaction.transaction_id\"><strong>transaction_id</strong></a>: 2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#Account.account_id\">account_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">bank_id</a>: gh.29.uk</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p>from:</p><p>to:</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestRefund","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyRefundJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyRefundJsonV400"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/SANDBOX_TAN/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (SANDBOX_TAN)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>When using SANDBOX_TAN, the payee is set in the request body.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>SANDBOX_TAN:</p><p><strong>JSON request body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv2.1.0-createTransactionRequestSandboxTan","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyJsonV200 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyJsonV200"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON210"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/SEPA/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (SEPA)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Special instructions for SEPA:</p><p>When using a SEPA Transaction Request, you specify the IBAN of a Counterparty in the body of the request.<br />The routing details (IBAN) of the counterparty will be forwarded to the core banking system for the transfer.</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>SEPA:</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><a href=\"/glossary#code\"><strong>code</strong></a>: 125</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>amount</strong>: 10.12</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p>document_number:</p><p><a href=\"/glossary#future_date\">future_date</a>: 20200127</p><p>reasons:</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestSepa","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodySEPAJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodySEPAJsonV400"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/SIMPLE/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (SIMPLE)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Special instructions for SIMPLE:</p><p>You can transfer money to the Bank Account Number or IBAN directly.</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>SIMPLE: SIMPLE</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><a href=\"/glossary#other_account_routing_address\"><strong>other_account_routing_address</strong></a>: DE89370400440532013000</p><p><a href=\"/glossary#other_account_routing_scheme\"><strong>other_account_routing_scheme</strong></a>: IBAN</p><p><strong>other_account_secondary_routing_address</strong>:</p><p><strong>other_account_secondary_routing_scheme</strong>:</p><p><strong>other_bank_routing_address</strong>:</p><p><strong>other_bank_routing_scheme</strong>:</p><p><strong>other_branch_routing_address</strong>:</p><p><strong>other_branch_routing_scheme</strong>:</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#future_date\">future_date</a>: 20200127</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestSimple","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodySimpleJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodySimpleJsonV400"}},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/{TRANSACTION_REQUEST_TYPE}/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (ACCOUNT)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>When using ACCOUNT, the payee is set in the request body.</p><p>Money goes into the BANK_ID and ACCOUNT_ID specified in the request body.</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>TRANSACTION_REQUEST_TYPE: SEPA</p><p><strong>JSON request body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestAccount","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyJsonV200 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyJsonV200"}},{"in":"path","name":"TRANSACTION_REQUEST_TYPE","description":"The transaction request type","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/GRANT_VIEW_ID/transaction-request-types/{TRANSACTION_REQUEST_TYPE}/transaction-requests/{TRANSACTION_REQUEST_ID}/challenge":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Answer Transaction Request Challenge","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>In Sandbox mode, any string that can be converted to a positive integer will be accepted as an answer.</p><p>This endpoint totally depends on createTransactionRequest, it need get the following data from createTransactionRequest response body.</p><p>1)<code>TRANSACTION_REQUEST_TYPE</code> : is the same as createTransactionRequest request URL .</p><p>2)<code>TRANSACTION_REQUEST_ID</code> : is the <code>id</code> field in createTransactionRequest response body.</p><p>3) <code>id</code> :  is <code>challenge.id</code> field in createTransactionRequest response body.</p><p>4) <code>answer</code> : must be <code>123</code> in case that Strong Customer Authentication method for OTP challenge is dummy.<br />For instance: SANDBOX_TAN_OTP_INSTRUCTION_TRANSPORT=dummy<br />Possible values are dummy,email and sms<br />In CBS mode, the answer can be got by phone message or other SCA methods.</p><p>Note that each Transaction Request Type can have its own OTP_INSTRUCTION_TRANSPORT method.<br />OTP_INSTRUCTION_TRANSPORT methods are set in Props. See sample.props.template for instructions.</p><p>Single or Multiple authorisations</p><p>OBP allows single or multi party authorisations.</p><p>Single party authorisation:</p><p>In the case that only one person needs to authorise i.e. answer a security challenge we have the following change of state of a <code>transaction request</code>:<br />INITIATED =&gt; COMPLETED</p><p>Multiparty authorisation:</p><p>In the case that multiple parties (n persons) need to authorise a transaction request i.e. answer security challenges, we have the followings state flow for a <code>transaction request</code>:<br />INITIATED =&gt; NEXT_CHALLENGE_PENDING =&gt; ... =&gt; NEXT_CHALLENGE_PENDING =&gt; COMPLETED</p><p>The security challenge is bound to a user i.e. in the case of a correct answer but the user is different than expected the challenge will fail.</p><p>Rule for calculating number of security challenges:<br />If Product Account attribute REQUIRED_CHALLENGE_ANSWERS=N then create N challenges<br />(one for every user that has a View where permission can_add_transaction_request_to_any_account=true)<br />In the case REQUIRED_CHALLENGE_ANSWERS is not defined as an account attribute, the default number of security challenges created is one.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>GRANT_VIEW_ID: GRANT_VIEW_ID</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p>TRANSACTION_REQUEST_TYPE: SEPA</p><p><strong>JSON request body fields:</strong></p><p><strong>answer</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p>additional_information: additional_information</p><p>reason_code: reason_code</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-answerTransactionRequestChallenge","parameters":[{"in":"body","name":"body","description":"ChallengeAnswerJson400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ChallengeAnswerJson400"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"TRANSACTION_REQUEST_TYPE","description":"The transaction request type","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON210"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-request-types":{"get":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Get Transaction Request Types for Account","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Returns the Transaction Request Types that the account specified by ACCOUNT_ID and view specified by VIEW_ID has access to.</p><p>These are the ways this API Server can create a Transaction via a Transaction Request<br />(as opposed to Transaction Types which include external types too e.g. for Transactions created by core banking etc.)</p><p>A Transaction Request Type internally determines:</p><ul><li>the required Transaction Request 'body' i.e. fields that define the 'what' and 'to' of a Transaction Request,</li><li>the type of security challenge that may be be raised before the Transaction Request proceeds, and</li><li>the threshold of that challenge.</li></ul><p>For instance in a 'SANDBOX_TAN' Transaction Request, for amounts over 1000 currency units, the user must supply a positive integer to complete the Transaction Request and create a Transaction.</p><p>This approach aims to provide only one endpoint for initiating transactions, and one that handles challenges, whilst still allowing flexibility with the payload and internal logic.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON response body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><strong>charge</strong>:</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>transaction_request_types</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv1.4.0-getTransactionRequestTypes","parameters":[{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestTypesJsonV140"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-request-types/COUNTERPARTY/transaction-requests/{TRANSACTION_REQUEST_ID}/challenge":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Answer Transaction Request Challenge","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>In Sandbox mode, any string that can be converted to a positive integer will be accepted as an answer.</p><p>This endpoint expects the following data as provided in the createTransactionRequest response body:</p><p>1)<code>TRANSACTION_REQUEST_TYPE</code> : as per the selected createTransactionRequest type, part of the request URL.</p><p>2)<code>TRANSACTION_REQUEST_ID</code> : the value of the <code>id</code> field of the createTransactionRequest response body.</p><p>3) <code>id</code> :  the value of <code>challenge.id</code> in the createTransactionRequest response body.</p><p>4) <code>answer</code> : Defaults to <code>123</code>, if running in sandbox mode. In production mode, the value will be sent via the configured SCA method.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>COUNTERPARTY:</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON request body fields:</strong></p><p><strong>answer</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv2.1.0-answerTransactionRequestChallengeCounterparty","parameters":[{"in":"body","name":"body","description":"ChallengeAnswerJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ChallengeAnswerJSON"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-request-types/FREE_FORM/transaction-requests/{TRANSACTION_REQUEST_ID}/challenge":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Answer Transaction Request Challenge","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>In Sandbox mode, any string that can be converted to a positive integer will be accepted as an answer.</p><p>This endpoint expects the following data as provided in the createTransactionRequest response body:</p><p>1)<code>TRANSACTION_REQUEST_TYPE</code> : as per the selected createTransactionRequest type, part of the request URL.</p><p>2)<code>TRANSACTION_REQUEST_ID</code> : the value of the <code>id</code> field of the createTransactionRequest response body.</p><p>3) <code>id</code> :  the value of <code>challenge.id</code> in the createTransactionRequest response body.</p><p>4) <code>answer</code> : Defaults to <code>123</code>, if running in sandbox mode. In production mode, the value will be sent via the configured SCA method.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>FREE_FORM:</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON request body fields:</strong></p><p><strong>answer</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv2.1.0-answerTransactionRequestChallengeFree_form","parameters":[{"in":"body","name":"body","description":"ChallengeAnswerJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ChallengeAnswerJSON"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-request-types/SANDBOX_TAN/transaction-requests/{TRANSACTION_REQUEST_ID}/challenge":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Answer Transaction Request Challenge","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>In Sandbox mode, any string that can be converted to a positive integer will be accepted as an answer.</p><p>This endpoint expects the following data as provided in the createTransactionRequest response body:</p><p>1)<code>TRANSACTION_REQUEST_TYPE</code> : as per the selected createTransactionRequest type, part of the request URL.</p><p>2)<code>TRANSACTION_REQUEST_ID</code> : the value of the <code>id</code> field of the createTransactionRequest response body.</p><p>3) <code>id</code> :  the value of <code>challenge.id</code> in the createTransactionRequest response body.</p><p>4) <code>answer</code> : Defaults to <code>123</code>, if running in sandbox mode. In production mode, the value will be sent via the configured SCA method.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>SANDBOX_TAN:</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON request body fields:</strong></p><p><strong>answer</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv2.1.0-answerTransactionRequestChallengeSandbox_tan","parameters":[{"in":"body","name":"body","description":"ChallengeAnswerJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ChallengeAnswerJSON"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-request-types/SEPA/transaction-requests/{TRANSACTION_REQUEST_ID}/challenge":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Answer Transaction Request Challenge","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>In Sandbox mode, any string that can be converted to a positive integer will be accepted as an answer.</p><p>This endpoint expects the following data as provided in the createTransactionRequest response body:</p><p>1)<code>TRANSACTION_REQUEST_TYPE</code> : as per the selected createTransactionRequest type, part of the request URL.</p><p>2)<code>TRANSACTION_REQUEST_ID</code> : the value of the <code>id</code> field of the createTransactionRequest response body.</p><p>3) <code>id</code> :  the value of <code>challenge.id</code> in the createTransactionRequest response body.</p><p>4) <code>answer</code> : Defaults to <code>123</code>, if running in sandbox mode. In production mode, the value will be sent via the configured SCA method.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>SEPA:</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON request body fields:</strong></p><p><strong>answer</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv2.1.0-answerTransactionRequestChallengeSepa","parameters":[{"in":"body","name":"body","description":"ChallengeAnswerJSON object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ChallengeAnswerJSON"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-requests":{"get":{"tags":["Transaction-Request","Payment Initiation Service (PIS)"],"summary":"Get Transaction Requests","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Returns transaction requests for account specified by ACCOUNT_ID at bank specified by BANK_ID.</p><p>The VIEW_ID specified must be 'owner' and the user must have access to this view.</p><p>Version 2.0.0 now returns charge information.</p><p>Transaction Requests serve to initiate transactions that may or may not proceed. They contain information including:</p><ul><li>Transaction Request Id</li><li>Type</li><li>Status (INITIATED, COMPLETED)</li><li>Challenge (in order to confirm the request)</li><li>From Bank / Account</li><li>Details including Currency, Value, Description and other initiation information specific to each type. (Could potentialy include a list of future transactions.)</li><li>Related Transactions</li></ul><p>PSD2 Context: PSD2 requires transparency of charges to the customer.<br />This endpoint provides the charge that would be applied if the Transaction Request proceeds - and a record of that charge there after.<br />The customer can proceed with the Transaction by answering the security challenge.</p><p>We support query transaction request by attribute<br />URL params example:/banks/BANK_ID/accounts/ACCOUNT_ID/VIEW_ID/transaction-requests?invoiceNumber=123&amp;referenceNumber=456</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transaction_requests_with_charges</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv5.1.0-getTransactionRequests","parameters":[{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSONs210"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/{VIEW_ID}/transaction-requests/{TRANSACTION_REQUEST_ID}":{"get":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Get Transaction Request","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Returns transaction request for transaction specified by TRANSACTION_REQUEST_ID and for account specified by ACCOUNT_ID at bank specified by BANK_ID.</p><p>The VIEW_ID specified must be 'owner' and the user must have access to this view.</p><p>Version 2.0.0 now returns charge information.</p><p>Transaction Requests serve to initiate transactions that may or may not proceed. They contain information including:</p><ul><li>Transaction Request Id</li><li>Type</li><li>Status (INITIATED, COMPLETED)</li><li>Challenge (in order to confirm the request)</li><li>From Bank / Account</li><li>Details including Currency, Value, Description and other initiation information specific to each type. (Could potentialy include a list of future transactions.)</li><li>Related Transactions</li></ul><p>PSD2 Context: PSD2 requires transparency of charges to the customer.<br />This endpoint provides the charge that would be applied if the Transaction Request proceeds - and a record of that charge there after.<br />The customer can proceed with the Transaction by answering the security challenge.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><a href=\"/glossary#View.view_id\">VIEW_ID</a>: owner</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-getTransactionRequest","parameters":[{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON210"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/transaction-requests/{TRANSACTION_REQUEST_ID}/attribute":{"post":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Create Transaction Request Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Create Transaction Request Attribute</p><p>The type field must be one of \"STRING\", \"INTEGER\", \"DOUBLE\", \"DECIMAL\", \"BOOLEAN\" and \"DATE_WITH_DAY\". Use \"DECIMAL\" rather than \"DOUBLE\" for rates, prices and amounts, because it holds the value exactly; \"BOOLEAN\" values are \"true\" or \"false\".</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON request body fields:</strong></p><p><a href=\"/glossary#RegulatedEntity.attribute_type\"><strong>attribute_type</strong></a>: STRING</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>transaction_request_attribute_id</strong>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv4.0.0-createTransactionRequestAttribute","parameters":[{"in":"body","name":"body","description":"TransactionRequestAttributeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestAttributeJsonV400"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestAttributeResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/transaction-requests/{TRANSACTION_REQUEST_ID}/attributes":{"get":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Get Transaction Request Attributes","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Get Transaction Request Attributes</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>transaction_request_attribute_id</strong>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>transaction_request_attributes</strong>: transaction_request_attributes</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv4.0.0-getTransactionRequestAttributes","parameters":[{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestAttributesResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/accounts/{ACCOUNT_ID}/transaction-requests/{TRANSACTION_REQUEST_ID}/attributes/ATTRIBUTE_ID":{"get":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Get Transaction Request Attribute By Id","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Get Transaction Request Attribute By Id</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#ATM.attribute_id\">ATTRIBUTE_ID</a>:</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>transaction_request_attribute_id</strong>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv4.0.0-getTransactionRequestAttributeById","parameters":[{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestAttributeResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}},"put":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Update Transaction Request Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Update Transaction Request Attribute</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#ATM.attribute_id\">ATTRIBUTE_ID</a>:</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>transaction_request_attribute_id</strong>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p>","operationId":"OBPv4.0.0-updateTransactionRequestAttribute","parameters":[{"in":"body","name":"body","description":"TransactionRequestAttributeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestAttributeJsonV400"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestAttributeResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/attribute-definitions/ATTRIBUTE_DEFINITION_ID/transaction-request":{"delete":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Delete Transaction Request Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Delete Transaction Request Attribute Definition by ATTRIBUTE_DEFINITION_ID</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p>ATTRIBUTE_DEFINITION_ID:</p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><strong>JSON response body fields:</strong></p>","operationId":"OBPv4.0.0-deleteTransactionRequestAttributeDefinition","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"204":{"description":"Success","schema":{"$ref":"#/definitions/Full"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/attribute-definitions/transaction-request":{"get":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Get Transaction Request Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Get Transaction Request Attribute Definition</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><strong>JSON response body fields:</strong></p><p><strong>alias</strong>:</p><p><strong>attribute_definition_id</strong>:</p><p><a href=\"/glossary#attributes\"><strong>attributes</strong></a>: attribute value in form of (name, value)</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><a href=\"/glossary#can_be_seen_on_views\"><strong>can_be_seen_on_views</strong></a>: false</p><p><strong>category</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#is_active\"><strong>is_active</strong></a>: false</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p>","operationId":"OBPv4.0.0-getTransactionRequestAttributeDefinition","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AttributeDefinitionsResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}},"put":{"tags":["Transaction-Request","Transaction-Request-Attribute","Attribute"],"summary":"Create or Update Transaction Request Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Create or Update Transaction Request Attribute Definition</p><p>The category field must be TransactionRequest</p><p>The type field must be one of: DOUBLE, STRING, INTEGER and DATE_WITH_DAY</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><strong>JSON response body fields:</strong></p><p><strong>alias</strong>:</p><p><strong>attribute_definition_id</strong>:</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><a href=\"/glossary#can_be_seen_on_views\"><strong>can_be_seen_on_views</strong></a>: false</p><p><strong>category</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#is_active\"><strong>is_active</strong></a>: false</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p>","operationId":"OBPv4.0.0-createOrUpdateTransactionRequestAttributeDefinition","parameters":[{"in":"body","name":"body","description":"AttributeDefinitionJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/AttributeDefinitionJsonV400"}},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AttributeDefinitionResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/management/historical/transactions":{"post":{"tags":["Transaction-Request"],"summary":"Create Historical Transactions ","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Create historical transactions at one Bank</p><p>Use this endpoint to create transactions between any two accounts at the same bank.<br />From account and to account must be at the same bank.<br />Example:<br />{<br />\"from_account_id\": \"1ca8a7e4-6d02-48e3-a029-0b2bf89de9f0\",<br />\"to_account_id\": \"2ca8a7e4-6d02-48e3-a029-0b2bf89de9f0\",<br />\"value\": {<br />\"currency\": \"GBP\",<br />\"amount\": \"10\"<br />},<br />\"description\": \"this is for work\",<br />\"posted\": \"2017-09-19T02:31:05Z\",<br />\"completed\": \"2017-09-19T02:31:05Z\",<br />\"type\": \"SANDBOX_TAN\",<br />\"charge_policy\": \"SHARED\"<br />}</p><p>This call is experimental.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><a href=\"/glossary#completed\"><strong>completed</strong></a>: 2020-01-27</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>from_account_id</strong>: from_account_id</p><p><a href=\"/glossary#posted\"><strong>posted</strong></a>: 2020-01-27</p><p><strong>to_account_id</strong>: to_account_id</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><a href=\"/glossary#completed\"><strong>completed</strong></a>: 2020-01-27</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>from</strong>:</p><p><a href=\"/glossary#posted\"><strong>posted</strong></a>: 2020-01-27</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Transaction.transaction_id\"><strong>transaction_id</strong></a>: 2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub</p><p><strong>transaction_request_type</strong>: SEPA</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#Account.account_id\">account_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">bank_id</a>: gh.29.uk</p><p>counterparty_id: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>","operationId":"OBPv4.0.0-createHistoricalTransactionAtBank","parameters":[{"in":"body","name":"body","description":"PostHistoricalTransactionAtBankJson object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PostHistoricalTransactionAtBankJson"}},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/PostHistoricalTransactionResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorInvalidJsonFormat"}}}}},"/obp/v5.1.0/banks/{BANK_ID}/transaction-request-types":{"get":{"tags":["Transaction-Request","Bank"],"summary":"Get Transaction Request Types at Bank","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Get the list of the Transaction Request Types supported by the bank.</p><p>User Authentication is Optional. The User need not be logged in.</p><p><strong>URL Parameters:</strong></p><p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p><p><strong>JSON response body fields:</strong></p><p><strong>transaction_request_type</strong>: SEPA</p><p><strong>transaction_request_types</strong>:</p>","operationId":"OBPv2.1.0-getTransactionRequestTypesSupportedByBank","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestTypesJSON"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUnknownError"}}}}},"/obp/v5.1.0/consumer/vrp-consent-requests":{"post":{"tags":["Consent","VRP","Transaction-Request"],"summary":"Create Consent Request VRP","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>This endpoint is used to begin the process of creating a consent that may be used for Variable Recurring Payments (VRPs).</p><p>VRPs are useful in situations when a beneficiary needs to be paid different amounts on a regular basis.</p><p>Once granted, the consent allows its holder to initiate multiple Transaction Requests to the Counterparty defined in this endpoint as long as the<br />Counterparty Limits linked to this particular consent are respected.</p><p>Client, Consumer or Application Authentication is mandatory for this endpoint.</p><p>i.e. the caller of this endpoint is the API Client, Consumer or Application rather than a specific User.</p><p>At the end of the process the following objects are created in OBP or connected backend systems:<br />- An automatically generated View which controls access.<br />- A Counterparty that is the Beneficiary of the Variable Recurring Payments. The Counterparty specifies the Bank Account number or other routing address.<br />- Limits for the Counterparty which constrain the amount of money that can be sent to it in various periods (yearly, monthly, weekly).</p><p>The Account holder may modify the Counterparty or Limits e.g. to increase or decrease the maximum possible payment amounts or the frequencey of the payments.</p><p>In the case of a public client we use the client_id and private key to obtain an access token, otherwise we use the client_id and client_secret.<br />The obtained access token is used in the HTTP Authorization header of the request as follows:</p><p>Example:<br />Authorization: Bearer eXtneO-THbQtn3zvK_kQtXXfvOZyZFdBCItlPDbR2Bk.dOWqtXCtFX-tqGTVR0YrIjvAolPIVg7GZ-jz83y6nA0</p><p>After successfully creating the VRP consent request, you need to call the <code>Create Consent By CONSENT_REQUEST_ID</code> endpoint to finalize the consent using the CONSENT_REQUEST_ID returned by this endpoint.</p><p>Application Access is Required. The Application must be authenticated.</p><p>User Authentication is Optional. The User need not be logged in.</p><p><strong>JSON request body fields:</strong></p><p><strong>account_routing</strong>:</p><p><strong>address</strong>:</p><p><strong>bank_routing</strong>:</p><p><strong>branch_routing</strong>:</p><p><strong>counterparty_name</strong>: John Smith Ltd.</p><p><strong>currency</strong>: EUR</p><p><strong>from_account</strong>: from_account</p><p><a href=\"/glossary#Adapter.limit\"><strong>limit</strong></a>: 100</p><p><a href=\"/glossary#max_monthly_amount\"><strong>max_monthly_amount</strong></a>: 10000.11</p><p><a href=\"/glossary#max_number_of_monthly_transactions\"><strong>max_number_of_monthly_transactions</strong></a>: 10</p><p><a href=\"/glossary#max_number_of_transactions\"><strong>max_number_of_transactions</strong></a>: 100</p><p><a href=\"/glossary#max_number_of_yearly_transactions\"><strong>max_number_of_yearly_transactions</strong></a>: 100</p><p><a href=\"/glossary#max_single_amount\"><strong>max_single_amount</strong></a>: 1000.11</p><p><a href=\"/glossary#max_total_amount\"><strong>max_total_amount</strong></a>: 10000.12</p><p><a href=\"/glossary#max_yearly_amount\"><strong>max_yearly_amount</strong></a>: 12000.11</p><p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: OBP</p><p><strong>to_account</strong>: to_account</p><p>email: <a href=\"mailto:felixsmith@example.com\">felixsmith@example.com</a></p><p>phone_number:</p><p>time_to_live:</p><p><a href=\"/glossary#valid_from\">valid_from</a>: 2020-01-27</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#consent_request_id\"><strong>consent_request_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><strong>consumer_id</strong>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><a href=\"/glossary#payload\"><strong>payload</strong></a>: payload</p>","operationId":"OBPv5.1.0-createVRPConsentRequest","parameters":[{"in":"body","name":"body","description":"PostVRPConsentRequestJsonV510 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PostVRPConsentRequestJsonV510"}}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/ConsentRequestResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorInvalidJsonFormat"}}}}},"/obp/v5.1.0/management/historical/transactions":{"post":{"tags":["Transaction-Request"],"summary":"Save Historical Transactions","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Import the historical transactions.</p><p>The fields bank_id, account_id, counterparty_id in the json body are all optional ones.<br />It support transfer money from account to account, account to counterparty and counterparty to counterparty<br />Both bank_id + account_id and counterparty_id can identify the account, so OBP only need one of them to make the payment.<br />So:<br />When you need the account to account, just omit counterparty_id field.eg:<br />{<br />\"from\": {<br />\"bank_id\": \"gh.29.uk\",<br />\"account_id\": \"1ca8a7e4-6d02-48e3-a029-0b2bf89de9f0\",<br />},<br />\"to\": {<br />\"bank_id\": \"gh.29.uk\",<br />\"account_id\": \"2ca8a7e4-6d02-48e3-a029-0b2bf89de9f0\",<br />},<br />\"value\": {<br />\"currency\": \"GBP\",<br />\"amount\": \"10\"<br />},<br />\"description\": \"this is for work\",<br />\"posted\": \"2017-09-19T02:31:05Z\",<br />\"completed\": \"2017-09-19T02:31:05Z\",<br />\"type\": \"SANDBOX_TAN\",<br />\"charge_policy\": \"SHARED\"<br />}</p><p>When you need the counterparty to counterparty, need to omit bank_id and account_id field.eg:<br />{<br />\"from\": {<br />\"counterparty_id\": \"f6392b7d-4218-45ea-b9a7-eaa71c0202f9\"<br />},<br />\"to\": {<br />\"counterparty_id\": \"26392b7d-4218-45ea-b9a7-eaa71c0202f9\"<br />},<br />\"value\": {<br />\"currency\": \"GBP\",<br />\"amount\": \"10\"<br />},<br />\"description\": \"this is for work\",<br />\"posted\": \"2017-09-19T02:31:05Z\",<br />\"completed\": \"2017-09-19T02:31:05Z\",<br />\"type\": \"SANDBOX_TAN\",<br />\"charge_policy\": \"SHARED\"<br />}</p><p>or, you can counterparty to account<br />{<br />\"from\": {<br />\"counterparty_id\": \"f6392b7d-4218-45ea-b9a7-eaa71c0202f9\"<br />},<br />\"to\": {<br />\"bank_id\": \"gh.29.uk\",<br />\"account_id\": \"8ca8a7e4-6d02-48e3-a029-0b2bf89de9f0\",<br />},<br />\"value\": {<br />\"currency\": \"GBP\",<br />\"amount\": \"10\"<br />},<br />\"description\": \"this is for work\",<br />\"posted\": \"2017-09-19T02:31:05Z\",<br />\"completed\": \"2017-09-19T02:31:05Z\",<br />\"type\": \"SANDBOX_TAN\",<br />\"charge_policy\": \"SHARED\"<br />}</p><p>This call is experimental.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><a href=\"/glossary#completed\"><strong>completed</strong></a>: 2020-01-27</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>from</strong>:</p><p><a href=\"/glossary#posted\"><strong>posted</strong></a>: 2020-01-27</p><p><strong>to</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#Account.account_id\">account_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">bank_id</a>: gh.29.uk</p><p>counterparty_id: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>JSON response body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Transaction.charge_policy\"><strong>charge_policy</strong></a>: SHARED</p><p><a href=\"/glossary#completed\"><strong>completed</strong></a>: 2020-01-27</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>from</strong>:</p><p><a href=\"/glossary#posted\"><strong>posted</strong></a>: 2020-01-27</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Transaction.transaction_id\"><strong>transaction_id</strong></a>: 2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub</p><p><strong>transaction_request_type</strong>: SEPA</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#Account.account_id\">account_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Bank.bank_id\">bank_id</a>: gh.29.uk</p><p>counterparty_id: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>","operationId":"OBPv3.1.0-saveHistoricalTransaction","parameters":[{"in":"body","name":"body","description":"PostHistoricalTransactionJson object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PostHistoricalTransactionJson"}}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/PostHistoricalTransactionResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorInvalidJsonFormat"}}}}},"/obp/v5.1.0/management/transaction-requests/{TRANSACTION_REQUEST_ID}":{"get":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Get Transaction Request by ID","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Returns transaction request for transaction specified by TRANSACTION_REQUEST_ID.</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv5.1.0-getTransactionRequestById","parameters":[{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON210"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}},"put":{"tags":["Transaction-Request"],"summary":"Update Transaction Request Status","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>Update Transaction Request Status</p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p>TRANSACTION_REQUEST_ID: 8138a7e4-6d02-40e3-a129-0b2bf89de9f1</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p>","operationId":"OBPv5.1.0-updateTransactionRequestStatus","parameters":[{"in":"body","name":"body","description":"PostTransactionRequestStatusJsonV510 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PostTransactionRequestStatusJsonV510"}},{"in":"path","name":"TRANSACTION_REQUEST_ID","description":"The transaction request id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PostTransactionRequestStatusJsonV510"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}},"/obp/v5.1.0/transaction-request-types/CARD/transaction-requests":{"post":{"tags":["Transaction-Request","Payment Initiation Service (PIS)","PSD2"],"summary":"Create Transaction Request (CARD)","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>When using CARD, the payee is set in the request body .</p><p>Money goes into the Counterparty in the request body.</p><p>For an introduction to Transaction Requests, see: <a href=\"http://localhost:5174/glossary#Transaction-Request-Introduction\">here</a></p><p>User Authentication is Required. The User must be logged in. The Application must also be authenticated.</p><p><strong>URL Parameters:</strong></p><p>CARD: CARD</p><p><strong>JSON request body fields:</strong></p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#Adapter.brand\"><strong>brand</strong></a>: Visa</p><p><strong>card</strong>: card</p><p><a href=\"/glossary#Adapter.card_number\"><strong>card_number</strong></a>: 364435172576215</p><p><a href=\"/glossary#Adapter.card_type\"><strong>card_type</strong></a>: Credit</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>currency</strong>: EUR</p><p><a href=\"/glossary#Adapter.cvv\"><strong>cvv</strong></a>: 123</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><a href=\"/glossary#Adapter.expiry_month\"><strong>expiry_month</strong></a>: 01</p><p><a href=\"/glossary#Adapter.expiry_year\"><strong>expiry_year</strong></a>: 2023</p><p><a href=\"/glossary#Adapter.name_on_card\"><strong>name_on_card</strong></a>: SusanSmith</p><p><strong>to</strong>:</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><strong>JSON response body fields:</strong></p><p><a href=\"/glossary#Account\"><strong>account</strong></a>:</p><p><a href=\"/glossary#Account.account_id\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p><p><a href=\"/glossary#Agent.agent_number\"><strong>agent_number</strong></a>: 5987953</p><p><a href=\"/glossary#allowed_attempts\"><strong>allowed_attempts</strong></a>: 5</p><p><strong>amount</strong>: 10.12</p><p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p><p><a href=\"/glossary#Bank.bank_id\"><strong>bank_id</strong></a>: gh.29.uk</p><p><strong>branch_number</strong>:</p><p><strong>challenge_type</strong>:</p><p><strong>challenges</strong>: challenges</p><p><strong>charge</strong>:</p><p><strong>counterparty_id</strong>: 9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh</p><p><strong>creditorAccount</strong>:</p><p><strong>creditorName</strong>:</p><p><strong>currency</strong>: EUR</p><p><strong>date_of_birth</strong>: 2018-03-09</p><p><strong>debtorAccount</strong>:</p><p><a href=\"/glossary#description\"><strong>description</strong></a>: Description of the object. Maximum length is 2000. It can be any characters here.</p><p><strong>details</strong>:</p><p><strong>end_date</strong>:</p><p><strong>from</strong>:</p><p><a href=\"/glossary#future_date\"><strong>future_date</strong></a>: 20200127</p><p><a href=\"/glossary#Account.iban\"><strong>iban</strong></a>: DE91 1000 0000 0123 4567 89</p><p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p><p><a href=\"/glossary#instructedamount\"><strong>instructedAmount</strong></a>: 100</p><p><strong>kyc_document</strong>:</p><p><strong>legal_name</strong>: Eveline Tripman</p><p><strong>link</strong>:</p><p><a href=\"/glossary#message\"><strong>message</strong></a>: 123456</p><p><a href=\"/glossary#mobile_phone_number\"><strong>mobile_phone_number</strong></a>: +49 30 901820</p><p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p><p><strong>nickname</strong>:</p><p><strong>number</strong>:</p><p><strong>otherAccountRoutingAddress</strong>: otherAccountRoutingAddress</p><p><strong>otherAccountRoutingScheme</strong>: otherAccountRoutingScheme</p><p><strong>otherAccountSecondaryRoutingAddress</strong>: otherAccountSecondaryRoutingAddress</p><p><strong>otherAccountSecondaryRoutingScheme</strong>: otherAccountSecondaryRoutingScheme</p><p><strong>otherBankRoutingAddress</strong>: otherBankRoutingAddress</p><p><strong>otherBankRoutingScheme</strong>: otherBankRoutingScheme</p><p><strong>otherBranchRoutingAddress</strong>: otherBranchRoutingAddress</p><p><strong>otherBranchRoutingScheme</strong>: otherBranchRoutingScheme</p><p><strong>start_date</strong>: 2020-01-27</p><p><a href=\"/glossary#TransactionRequest.status\"><strong>status</strong></a>:</p><p><a href=\"/glossary#DynamicResourceDoc.summary\"><strong>summary</strong></a>:</p><p><strong>to</strong>:</p><p><strong>transaction_ids</strong>:</p><p><strong>transfer_type</strong>:</p><p><a href=\"/glossary#type\"><strong>type</strong></a>:</p><p><a href=\"/glossary#User.user_id\"><strong>user_id</strong></a>: 9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1</p><p><a href=\"/glossary#Adapter.value\"><strong>value</strong></a>: 5987953</p><p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p><p>to_agent: to_agent</p><p>to_counterparty:</p><p>to_sandbox_tan:</p><p>to_sepa:</p><p>to_sepa_credit_transfers:</p><p>to_simple: to_simple</p><p>to_transfer_to_account:</p><p>to_transfer_to_atm:</p><p>to_transfer_to_phone:</p>","operationId":"OBPv4.0.0-createTransactionRequestCard","parameters":[{"in":"body","name":"body","description":"TransactionRequestBodyCardJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/TransactionRequestBodyCardJsonV400"}}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/TransactionRequestWithChargeJSON400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorAuthenticatedUserIsRequired"}}}}}},"definitions":{"ErrorInvalidJsonFormat":{"properties":{"message":{"type":"string","example":"OBP-10001: Incorrect json format."}}},"ErrorAuthenticatedUserIsRequired":{"properties":{"message":{"type":"string","example":"OBP-20001: User not logged in. Authentication is required!"}}},"ErrorUnknownError":{"properties":{"message":{"type":"string","example":"OBP-50000: Unknown Error."}}},"ChallengeAnswerJSON":{"required":["id","answer"],"properties":{"id":{"type":"string","example":"This is challenge.id, you can get it from `Create Transaction Request.` response, only is useful if status ==`INITIATED` there."},"answer":{"type":"string","example":"123"}}},"TransactionRequestBodyJsonV200":{"required":["to","value","description"],"properties":{"to":{"$ref":"#/definitions/TransactionRequestAccountJsonV140"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"this is for work"}}},"PostTransactionRequestStatusJsonV510":{"required":["status"],"properties":{"status":{"type":"string","example":"COMPLETED"}}},"PostHistoricalTransactionAtBankJson":{"required":["completed","charge_policy","from_account_id","type","value","posted","description","to_account_id"],"properties":{"completed":{"type":"string","example":"1100-01-01T01:01:01Z"},"charge_policy":{"type":"string","example":"SHARED"},"from_account_id":{"type":"string","example":""},"type":{"type":"string","example":"SANDBOX_TAN"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"posted":{"type":"string","example":"1100-01-01T01:01:01Z"},"description":{"type":"string","example":"this is for work"},"to_account_id":{"type":"string","example":""}}},"TransactionRequestBodyCounterpartyJSON":{"required":["description","to","charge_policy","value"],"properties":{"attributes":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestAttributeJsonV400"}},"to":{"$ref":"#/definitions/CounterpartyIdJson"},"charge_policy":{"type":"string","example":"SHARED"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"A description for the transaction to the counterparty"},"future_date":{"type":"string","example":"20200127"}}},"TransactionRequestAttributeJsonV400":{"required":["name","attribute_type","value"],"properties":{"name":{"type":"string","example":"HOUSE_RENT"},"attribute_type":{"type":"string","example":"STRING"},"value":{"type":"string","example":"123456789"}}},"TransactionRequestBodyCardJsonV400":{"required":["card","to","value","description"],"properties":{"card":{"$ref":"#/definitions/CardJsonV400"},"to":{"$ref":"#/definitions/CounterpartyIdJson"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"A card payment description. "}}},"TransactionRequestBodyAgentJsonV400":{"required":["description","to","charge_policy","value"],"properties":{"to":{"$ref":"#/definitions/AgentCashWithdrawalJson"},"charge_policy":{"type":"string","example":"SHARED"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"Description of the object. Maximum length is 2000. It can be any characters here."},"future_date":{"type":"string","example":"20200127"}}},"TransactionRequestBodyFreeFormJSON":{"required":["value","description"],"properties":{"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"This is a FREE_FORM Transaction Request"}}},"ChallengeAnswerJson400":{"required":["id","answer"],"properties":{"id":{"type":"string","example":"This is challenge.id, you can get it from `Create Transaction Request.` response, only is useful if status ==`INITIATED` there."},"answer":{"type":"string","example":"123"},"reason_code":{"type":"string","example":"[Optional] Reason code for REJECT answer (e.g. 'CUST')"},"additional_information":{"type":"string","example":"[Optional] Additional description for REJECT answer"}}},"TransactionRequestBodySimpleJsonV400":{"required":["description","to","charge_policy","value"],"properties":{"to":{"$ref":"#/definitions/PostSimpleCounterpartyJson400"},"charge_policy":{"type":"string","example":"SHARED"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"Description of the object. Maximum length is 2000. It can be any characters here."},"future_date":{"type":"string","example":"20200127"}}},"PostVRPConsentRequestJsonV510":{"required":["from_account","to_account"],"properties":{"phone_number":{"type":"string","example":"+44 07972 444 876"},"time_to_live":{"type":"integer","format":"int64","example":"3600"},"email":{"type":"string","example":"felixsmith@example.com"},"from_account":{"$ref":"#/definitions/ConsentRequestFromAccountJson"},"valid_from":{"type":"string","format":"date","example":"2026-10-15T02:00:41Z"},"to_account":{"$ref":"#/definitions/ConsentRequestToAccountJson"}}},"TransactionRequestBodyRefundJsonV400":{"required":["description","refund","value"],"properties":{"description":{"type":"string","example":"A refund description. "},"refund":{"$ref":"#/definitions/RefundJson"},"to":{"$ref":"#/definitions/TransactionRequestRefundTo"},"from":{"$ref":"#/definitions/TransactionRequestRefundFrom"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"}}},"TransactionRequestBodySEPAJsonV400":{"required":["description","to","charge_policy","value"],"properties":{"to":{"$ref":"#/definitions/IbanJson"},"charge_policy":{"type":"string","example":"SHARED"},"description":{"type":"string","example":"This is a SEPA Transaction Request"},"future_date":{"type":"string","example":"20200127"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"reasons":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestReasonJsonV400"}}}},"AttributeDefinitionJsonV400":{"required":["description","alias","type","name","is_active","can_be_seen_on_views","category"],"properties":{"description":{"type":"string","example":"description"},"alias":{"type":"string","example":"STRING"},"type":{"type":"string","example":"STRING"},"name":{"type":"string","example":"SPECIAL_TAX_NUMBER"},"is_active":{"type":"boolean","example":"true"},"can_be_seen_on_views":{"type":"array","items":{"type":"string"}},"category":{"type":"string","example":"TransactionRequest"}}},"PostHistoricalTransactionJson":{"required":["description","to","completed","type","value","posted","charge_policy","from"],"properties":{"description":{"type":"string","example":"this is for work"},"to":{"$ref":"#/definitions/HistoricalTransactionAccountJsonV310"},"completed":{"type":"string","example":"1100-01-01T01:01:01Z"},"type":{"type":"string","example":"SANDBOX_TAN"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"posted":{"type":"string","example":"1100-01-01T01:01:01Z"},"charge_policy":{"type":"string","example":"SHARED"},"from":{"$ref":"#/definitions/HistoricalTransactionAccountJsonV310"}}},"TransactionRequestWithChargeJson":{"required":["challenge","start_date","id","from","type","transaction_ids","end_date","status","details","charge"],"properties":{"challenge":{"$ref":"#/definitions/ChallengeJsonV140"},"start_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"id":{"type":"string","example":"82f92531-9c63-4246-abfc-96c20ec46188"},"from":{"$ref":"#/definitions/TransactionRequestAccountJsonV140"},"type":{"type":"string","example":"SANDBOX_TAN"},"transaction_ids":{"type":"string","example":"666666-9c63-4246-abfc-96c20ec46188"},"end_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"status":{"type":"string","example":"COMPLETED"},"details":{"$ref":"#/definitions/TransactionRequestBody"},"charge":{"$ref":"#/definitions/TransactionRequestChargeJsonV200"}}},"TransactionRequestWithChargeJSON210":{"required":["challenge","start_date","id","from","type","transaction_ids","end_date","status","details","charge"],"properties":{"challenge":{"$ref":"#/definitions/ChallengeJsonV140"},"start_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"id":{"type":"string","example":"4050046c-63b3-4868-8a22-14b4181d33a6"},"from":{"$ref":"#/definitions/TransactionRequestAccountJsonV140"},"type":{"type":"string","example":"SANDBOX_TAN"},"transaction_ids":{"type":"array","items":{"type":"string"}},"end_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"status":{"type":"string","example":"COMPLETED"},"details":{"$ref":"#/definitions/TransactionRequestBodyAllTypes"},"charge":{"$ref":"#/definitions/TransactionRequestChargeJsonV200"}}},"PostHistoricalTransactionResponseJson":{"required":["description","to","transaction_id","transaction_request_type","completed","value","posted","charge_policy","from"],"properties":{"description":{"type":"string","example":"this is for work"},"to":{"$ref":"#/definitions/HistoricalTransactionAccountJsonV310"},"transaction_id":{"type":"string","example":"2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub"},"transaction_request_type":{"type":"string","example":"SANDBOX_TAN"},"completed":{"type":"string","format":"date","example":"1100-01-01T01:01:01Z"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"posted":{"type":"string","format":"date","example":"1100-01-01T01:01:01Z"},"charge_policy":{"type":"string","example":"SHARED"},"from":{"$ref":"#/definitions/HistoricalTransactionAccountJsonV310"}}},"TransactionRequestWithChargeJSON400":{"required":["start_date","id","from","type","end_date","status","details","charge","transaction_ids","challenges"],"properties":{"start_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"attributes":{"type":"array","items":{"$ref":"#/definitions/BankAttributeBankResponseJsonV400"}},"id":{"type":"string","example":"4050046c-63b3-4868-8a22-14b4181d33a6"},"from":{"$ref":"#/definitions/TransactionRequestAccountJsonV140"},"type":{"type":"string","example":"SANDBOX_TAN"},"end_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"status":{"type":"string","example":"COMPLETED"},"details":{"$ref":"#/definitions/TransactionRequestBodyAllTypes"},"charge":{"$ref":"#/definitions/TransactionRequestChargeJsonV200"},"transaction_ids":{"type":"array","items":{"type":"string"}},"challenges":{"type":"array","items":{"$ref":"#/definitions/ChallengeJsonV400"}}}},"TransactionRequestAttributeResponseJson":{"required":["transaction_request_attribute_id","name","type","value"],"properties":{"transaction_request_attribute_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"name":{"type":"string","example":"HOUSE_RENT"},"type":{"type":"string","example":"STRING"},"value":{"type":"string","example":"123456789"}}},"AttributeDefinitionsResponseJsonV400":{"required":["attributes"],"properties":{"attributes":{"type":"array","items":{"$ref":"#/definitions/AttributeDefinitionResponseJsonV400"}}}},"TransactionRequestWithChargeJSONs210":{"required":["transaction_requests_with_charges"],"properties":{"transaction_requests_with_charges":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestWithChargeJSON210"}}}},"TransactionRequestAttributesResponseJson":{"required":["transaction_request_attributes"],"properties":{"transaction_request_attributes":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestAttributeResponseJson"}}}},"TransactionRequestTypesJsonV140":{"required":["transaction_request_types"],"properties":{"transaction_request_types":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestTypeJsonV140"}}}},"Full":{"required":["value"],"properties":{"value":{"type":"boolean","example":"true"}}},"ConsentRequestResponseJson":{"required":["consent_request_id","payload","consumer_id"],"properties":{"consent_request_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"payload":{"type":"object","properties":{"from_account":{"type":"object","properties":{"bank_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"gh.29.uk"}},"required":["scheme","address"]},"account_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"}},"required":["scheme","address"]},"branch_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"DERBY6"}},"required":["scheme","address"]}},"required":["bank_routing","account_routing","branch_routing"]},"to_account":{"type":"object","properties":{"bank_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"gh.29.uk"}},"required":["scheme","address"]},"account_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"}},"required":["scheme","address"]},"branch_routing":{"type":"object","properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"DERBY6"}},"required":["scheme","address"]},"limit":{"type":"object","properties":{"currency":{"type":"string","example":"EUR"},"max_single_amount":{"type":"integer","format":"int32","example":"1000"},"max_monthly_amount":{"type":"integer","format":"int32","example":"10000"},"max_number_of_monthly_transactions":{"type":"integer","format":"int32","example":"10"},"max_yearly_amount":{"type":"integer","format":"int32","example":"12000"},"max_number_of_yearly_transactions":{"type":"integer","format":"int32","example":"100"}},"required":["currency","max_single_amount","max_monthly_amount","max_number_of_monthly_transactions","max_yearly_amount","max_number_of_yearly_transactions"]}},"required":["bank_routing","account_routing","branch_routing","limit"]},"valid_from":{"type":"string","example":"2024-07-10T09:22:06Z"},"time_to_live":{"type":"integer","format":"int32","example":"3600"}},"required":["from_account","to_account","valid_from","time_to_live"]},"consumer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"TransactionRequestTypesJSON":{"required":["transaction_request_types"],"properties":{"transaction_request_types":{"type":"array","items":{"$ref":"#/definitions/TransactionRequestTypeJSONV210"}}}},"AttributeDefinitionResponseJsonV400":{"required":["description","attribute_definition_id","alias","bank_id","type","name","is_active","can_be_seen_on_views","category"],"properties":{"description":{"type":"string","example":"description"},"attribute_definition_id":{"type":"string","example":"9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1"},"alias":{"type":"string","example":"STRING"},"bank_id":{"type":"string","example":"gh.29.uk"},"type":{"type":"string","example":"STRING"},"name":{"type":"string","example":"SPECIAL_TAX_NUMBER"},"is_active":{"type":"boolean","example":"true"},"can_be_seen_on_views":{"type":"array","items":{"type":"string"}},"category":{"type":"string","example":"TransactionRequest"}}},"TransactionRequestAccountJsonV140":{"required":["bank_id","account_id"],"properties":{"bank_id":{"type":"string","example":"gh.29.uk"},"account_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"}}},"AmountOfMoneyJsonV121":{"required":["currency","amount"],"properties":{"currency":{"type":"string","example":"EUR"},"amount":{"type":"string","example":"0"}}},"CounterpartyIdJson":{"required":["counterparty_id"],"properties":{"counterparty_id":{"type":"string","example":"9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"CardJsonV400":{"required":["expiry_year","cvv","expiry_month","name_on_card","card_type","brand","card_number"],"properties":{"expiry_year":{"type":"string","example":"2023"},"cvv":{"type":"string","example":"123"},"expiry_month":{"type":"string","example":"01"},"name_on_card":{"type":"string","example":"SusanSmith"},"card_type":{"type":"string","example":"Credit"},"brand":{"type":"string","example":"Visa"},"card_number":{"type":"string","example":"364435172576215"}}},"AgentCashWithdrawalJson":{"required":["bank_id","agent_number"],"properties":{"bank_id":{"type":"string","example":"gh.29.uk"},"agent_number":{"type":"string","example":"5987953"}}},"PostSimpleCounterpartyJson400":{"required":["name","other_account_secondary_routing_address","description","other_branch_routing_address","other_bank_routing_scheme","other_branch_routing_scheme","other_bank_routing_address","other_account_secondary_routing_scheme","other_account_routing_address","other_account_routing_scheme"],"properties":{"name":{"type":"string","example":"John Smith Ltd."},"other_account_secondary_routing_address":{"type":"string","example":"DE89370400440532013000"},"description":{"type":"string","example":"The piano lession-Invoice No:68"},"other_branch_routing_address":{"type":"string","example":"12f8a9e6-c2b1-407a-8bd0-421b7119307e"},"other_bank_routing_scheme":{"type":"string","example":"OBP"},"other_branch_routing_scheme":{"type":"string","example":"OBP"},"other_bank_routing_address":{"type":"string","example":"gh.29.uk"},"other_account_secondary_routing_scheme":{"type":"string","example":"IBAN"},"other_account_routing_address":{"type":"string","example":"DE89370400440532013000"},"other_account_routing_scheme":{"type":"string","example":"IBAN"}}},"BankRoutingJsonV121":{"required":["scheme","address"],"properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"gh.29.uk"}}},"AccountRoutingJsonV121":{"required":["scheme","address"],"properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"}}},"BranchRoutingJsonV141":{"required":["scheme","address"],"properties":{"scheme":{"type":"string","example":"OBP"},"address":{"type":"string","example":"DERBY6"}}},"ConsentRequestFromAccountJson":{"required":["bank_routing","account_routing","branch_routing"],"properties":{"bank_routing":{"$ref":"#/definitions/BankRoutingJsonV121"},"account_routing":{"$ref":"#/definitions/AccountRoutingJsonV121"},"branch_routing":{"$ref":"#/definitions/BranchRoutingJsonV141"}}},"PostCounterpartyLimitV510":{"required":["max_monthly_amount","max_number_of_monthly_transactions","max_single_amount","max_number_of_transactions","max_yearly_amount","max_total_amount","currency","max_number_of_yearly_transactions"],"properties":{"max_monthly_amount":{"type":"string","example":"10000.11"},"max_number_of_monthly_transactions":{"type":"integer","format":"int32","example":"10"},"max_single_amount":{"type":"string","example":"1000.11"},"max_number_of_transactions":{"type":"integer","format":"int32","example":"100"},"max_yearly_amount":{"type":"string","example":"12000.11"},"max_total_amount":{"type":"string","example":"10000.12"},"currency":{"type":"string","example":"EUR"},"max_number_of_yearly_transactions":{"type":"integer","format":"int32","example":"100"}}},"ConsentRequestToAccountJson":{"required":["account_routing","branch_routing","bank_routing","counterparty_name","limit"],"properties":{"account_routing":{"$ref":"#/definitions/AccountRoutingJsonV121"},"branch_routing":{"$ref":"#/definitions/BranchRoutingJsonV141"},"bank_routing":{"$ref":"#/definitions/BankRoutingJsonV121"},"counterparty_name":{"type":"string","example":"John Smith Ltd."},"limit":{"$ref":"#/definitions/PostCounterpartyLimitV510"}}},"TransactionRequestRefundTo":{"properties":{"bank_id":{"type":"string","example":"gh.29.uk"},"account_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"counterparty_id":{"type":"string","example":"9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"TransactionRequestRefundFrom":{"required":["counterparty_id"],"properties":{"counterparty_id":{"type":"string","example":"9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"RefundJson":{"required":["transaction_id","reason_code"],"properties":{"transaction_id":{"type":"string","example":"2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub"},"reason_code":{"type":"string","example":"CUST"}}},"IbanJson":{"required":["iban"],"properties":{"iban":{"type":"string","example":"123"}}},"TransactionRequestReasonJsonV400":{"required":["code"],"properties":{"description":{"type":"string","example":"SEPA payment"},"amount":{"type":"string","example":"100"},"code":{"type":"string","example":"410"},"document_number":{"type":"string","example":"2020/154"},"currency":{"type":"string","example":"EUR"}}},"HistoricalTransactionAccountJsonV310":{"properties":{"bank_id":{"type":"string","example":"gh.29.uk"},"account_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"counterparty_id":{"type":"string","example":"9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"TransactionRequestAccount":{"required":["bank_id","account_id"],"properties":{"bank_id":{"type":"string","example":"String"},"account_id":{"type":"string","example":"String"}}},"AmountOfMoney":{"required":["currency","amount"],"properties":{"currency":{"type":"string","example":"EUR"},"amount":{"type":"string","example":"100"}}},"TransactionRequestBody":{"required":["to","value","description"],"properties":{"to":{"$ref":"#/definitions/TransactionRequestAccount"},"value":{"$ref":"#/definitions/AmountOfMoney"},"description":{"type":"string","example":"String"}}},"ChallengeJsonV140":{"required":["id","allowed_attempts","challenge_type"],"properties":{"id":{"type":"string","example":"be1a183d-b301-4b83-b855-5eeffdd3526f"},"allowed_attempts":{"type":"integer","format":"int32","example":"3"},"challenge_type":{"type":"string","example":"SANDBOX_TAN"}}},"TransactionRequestChargeJsonV200":{"required":["summary","value"],"properties":{"summary":{"type":"string","example":"Rent the flat"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"}}},"TransactionRequestIban":{"required":["iban"],"properties":{"iban":{"type":"string","example":"String"}}},"TransactionRequestCounterpartyId":{"required":["counterparty_id"],"properties":{"counterparty_id":{"type":"string","example":"9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh"}}},"TransactionRequestSimple":{"required":["otherAccountSecondaryRoutingAddress","otherBankRoutingScheme","otherBranchRoutingScheme","otherAccountRoutingScheme","otherBankRoutingAddress","otherAccountRoutingAddress","otherAccountSecondaryRoutingScheme","otherBranchRoutingAddress"],"properties":{"otherAccountSecondaryRoutingAddress":{"type":"string","example":"DE91 1000 0000 0123 4567 89"},"otherBankRoutingScheme":{"type":"string","example":"BIC"},"otherBranchRoutingScheme":{"type":"string","example":"BRANCH-CODE"},"otherAccountRoutingScheme":{"type":"string","example":"IBAN"},"otherBankRoutingAddress":{"type":"string","example":"GENODEM1GLS"},"otherAccountRoutingAddress":{"type":"string","example":"DE91 1000 0000 0123 4567 89"},"otherAccountSecondaryRoutingScheme":{"type":"string","example":"IBAN"},"otherBranchRoutingAddress":{"type":"string","example":"DERBY6"}}},"FromAccountTransfer":{"required":["mobile_phone_number","nickname"],"properties":{"mobile_phone_number":{"type":"string","example":"+44 07972 444 876"},"nickname":{"type":"string","example":"String"}}},"ToAccountTransferToPhone":{"required":["mobile_phone_number"],"properties":{"mobile_phone_number":{"type":"string","example":"+44 07972 444 876"}}},"TransactionRequestTransferToPhone":{"required":["description","to","from","message","value"],"properties":{"description":{"type":"string","example":"String"},"to":{"$ref":"#/definitions/ToAccountTransferToPhone"},"from":{"$ref":"#/definitions/FromAccountTransfer"},"message":{"type":"string","example":"String"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"}}},"ToAccountTransferToAtmKycDocument":{"required":["type","number"],"properties":{"type":{"type":"string","example":"String"},"number":{"type":"string","example":"String"}}},"ToAccountTransferToAtm":{"required":["legal_name","date_of_birth","mobile_phone_number","kyc_document"],"properties":{"legal_name":{"type":"string","example":"Eveline Tripman"},"date_of_birth":{"type":"string","example":"20181230"},"mobile_phone_number":{"type":"string","example":"+44 07972 444 876"},"kyc_document":{"$ref":"#/definitions/ToAccountTransferToAtmKycDocument"}}},"TransactionRequestTransferToAtm":{"required":["description","to","from","message","value"],"properties":{"description":{"type":"string","example":"String"},"to":{"$ref":"#/definitions/ToAccountTransferToAtm"},"from":{"$ref":"#/definitions/FromAccountTransfer"},"message":{"type":"string","example":"String"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"}}},"ToAccountTransferToAccountAccount":{"required":["number","iban"],"properties":{"number":{"type":"string","example":"String"},"iban":{"type":"string","example":"String"}}},"ToAccountTransferToAccount":{"required":["name","bank_code","branch_number","account"],"properties":{"name":{"type":"string","example":"String"},"bank_code":{"type":"string","example":"String"},"branch_number":{"type":"string","example":"String"},"account":{"$ref":"#/definitions/ToAccountTransferToAccountAccount"}}},"TransactionRequestTransferToAccount":{"required":["to","transfer_type","value","description","future_date"],"properties":{"to":{"$ref":"#/definitions/ToAccountTransferToAccount"},"transfer_type":{"type":"string","example":"String"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"description":{"type":"string","example":"String"},"future_date":{"type":"string","example":"20181230"}}},"PaymentAccount":{"required":["iban"],"properties":{"iban":{"type":"string","example":"12345"}}},"SepaCreditTransfers":{"required":["debtorAccount","instructedAmount","creditorAccount","creditorName"],"properties":{"debtorAccount":{"$ref":"#/definitions/PaymentAccount"},"instructedAmount":{"$ref":"#/definitions/AmountOfMoneyJsonV121"},"creditorAccount":{"$ref":"#/definitions/PaymentAccount"},"creditorName":{"type":"string","example":"John Miles"}}},"TransactionRequestAgentCashWithdrawal":{"required":["bank_id","agent_number"],"properties":{"bank_id":{"type":"string","example":"gh.29.uk"},"agent_number":{"type":"string","example":"5987953"}}},"TransactionRequestBodyAllTypes":{"required":["description","value"],"properties":{"to_transfer_to_phone":{"$ref":"#/definitions/TransactionRequestTransferToPhone"},"to_counterparty":{"$ref":"#/definitions/TransactionRequestCounterpartyId"},"to_agent":{"$ref":"#/definitions/TransactionRequestAgentCashWithdrawal"},"to_sepa_credit_transfers":{"$ref":"#/definitions/SepaCreditTransfers"},"to_simple":{"$ref":"#/definitions/TransactionRequestSimple"},"value":{"$ref":"#/definitions/AmountOfMoney"},"to_sandbox_tan":{"$ref":"#/definitions/TransactionRequestAccount"},"description":{"type":"string","example":"Description of the object. Maximum length is 2000. It can be any characters here."},"to_transfer_to_atm":{"$ref":"#/definitions/TransactionRequestTransferToAtm"},"to_sepa":{"$ref":"#/definitions/TransactionRequestIban"},"to_transfer_to_account":{"$ref":"#/definitions/TransactionRequestTransferToAccount"}}},"ChallengeJsonV400":{"required":["allowed_attempts","user_id","id","link","challenge_type"],"properties":{"allowed_attempts":{"type":"integer","format":"int32","example":"3"},"user_id":{"type":"string","example":"9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1"},"id":{"type":"string","example":"2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub"},"link":{"type":"string","example":"/obp/v4.0.0/banks/BANK_ID/accounts/ACCOUNT_ID/VIEW_ID/transaction-request-types/TRANSACTION_REQUEST_TYPE/transaction-requests/TRANSACTION_REQUEST_ID/challenge"},"challenge_type":{"type":"string","example":"OBP_TRANSACTION_REQUEST_CHALLENGE"}}},"BankAttributeBankResponseJsonV400":{"required":["name","value"],"properties":{"name":{"type":"string","example":"ACCOUNT_MANAGEMENT_FEE"},"value":{"type":"string","example":"5987953"}}},"TransactionRequestChargeJsonV140":{"required":["summary","value"],"properties":{"summary":{"type":"string","example":"The bank fixed charge"},"value":{"$ref":"#/definitions/AmountOfMoneyJsonV121"}}},"TransactionRequestTypeJsonV140":{"required":["value","charge"],"properties":{"value":{"type":"string","example":"10"},"charge":{"$ref":"#/definitions/TransactionRequestChargeJsonV140"}}},"TransactionRequestTypeJSONV210":{"required":["transaction_request_type"],"properties":{"transaction_request_type":{"type":"string","example":"SandboxTan"}}}}}