Initiates a domestic payment. The debtorAccount can be either 'iban', 'bban', or 'sortCodeAccountNumber'. The creditorAccount can be either 'iban', 'bban', or 'sortCodeAccountNumber' (UK).
To enable a custom redirect, include the x-redirect-url parameter in the request header. The callback will then include a resource_id (the payment-id) and a result
(the request's status, either 'OK' or 'FAILED'). This API will return a 1426 error if consent is required and a 1428 'payment authorization required' if the payment requires SCA.
If you get error code '1428' then you have to call API '/ics/v3/payments/{paymentProduct}/{paymentId}/authorize' to get authorization URL. Once you receive url then you can use that to get
authorised with respective bank.
Additionally , If a domestic payment is initiated as an "instant" payment, the response will include two additional fields: transactionFeesCurrency
and transactionFeesAmount
.
These fields represent the currency and amount of the transaction fees for the "instant" payment, as charged by the bank.
Note:If a domestic payment is initiated as an "instant" payment, remittanceInformationStructured is not allowed. Only remittanceInformationUnstructured may be used in this case.