An event is an occurrence of something that could be of interest to the client within the Payment Hub API. Payments Hub posts the event to the client using a Webhook. Clients can subscribe to the events of their choice. The Webhook invocation involves authenticating to the client system and making a POST request to the URL specified by the client. An event posting is considered to be successful if it gets an HTTP Response code of 200. In the case if it does not receive a successful response for an event posting, the event will repeated at the agreed frequency beteen the client system and the Hub.
Every webhook event is invoked using the following request headers to define the context in which the event is invoked.
client_key required | string <= 10 characters ^[a-zA-Z0-9]{1,10}$ The unique identifier assigned by the Payment Hub to the client. |
product required | string <= 100 characters ^[a-zA-Z0-9_.& -]{1,100}$ The product identifier corresponding to the API. |
payment_channel required | string <= 100 characters ^[a-zA-Z0-9_.& -]{1,100}$ The FI channel vide which the API is invoked. |
access_channel | string <= 100 characters ^[a-zA-Z0-9_.& -]{1,100}$ This is the internal channel through which the API is invoked. |
requestor_type required | string <= 50 characters ^[a-zA-Z0-9_ -]{1,50}$ Identifies the requestor type for the API request. |
client_requestor_reference | string <= 100 characters ^[a-zA-Z0-9_.@&+ -]{1,100}$ The identifier for the requestor of the API, in the client system. Either the client_requestor_reference or the requestor must be available in every API request for audit purposes. |
requestor | string <= 100 characters ^[a-zA-Z0-9_.@& -]{1,100}$ The identifier for the requestor of the API, in the Payment Hub. Either the client_requestor_reference or the requestor must be available in every API request for audit purposes. |
context_variant | string <= 50 characters ^[a-zA-Z0-9_= -]{1,50}$ To be used if there is a need to provide additional contextual information. For future use. |
idempotent_request_key required | string <= 50 characters ^[a-zA-Z0-9_=-]{1,50}$ The unique token that clients can generate and maintain in order to identify an API request. This is used to identify duplicate requests and retrials. |
trace_id | string <= 50 characters ^[a-zA-Z0-9_=-]{1,50}$ The unique reference that can be used for tracing and debugging an API call. |
timestamp required | string <ISO 8601 DateTime with offset YYYY-MM-DDThh:mm:ss.sss+/-hh:mm> The UTC datetime when the API is invoked, in the ISO 8601 format |
X-PAAS-Headers | string For additional context information such as end user IP address, session information and so on. The content is a list of key-value pairs separated by semicolon (;) where key and value are separated by equals sign(=). |
The Debtor or the account owner receives a Notice of Debit Webhook after specific amount given in the instruction is debited from the Debtor's account.
Event name initiate_customer_credit_transfer.account_debited
Document required | object |
The 'Notice of Credit' message is a Webhook event sent by the account servicer to an account owner or to a party authorised by the account owner to receive the message. It is used to inform the account owner, or authorised party, of credit entries reported to the account.
Event name initiate_customer_credit_transfer.account_debit_reversed
Document required | object |
Event to notify thet the credit settlement is complete.
Event name initiate_customer_credit_transfer.accepted_settlement_completed
Document required | object |
Event ot notify that the payment instruction is accepted witohout posting.
Event name initiate_customer_credit_transfer.account_credited_posting_pending
Document required | object |
Event to notify that the payment has been acknowledged by the end party
Event name initiate_customer_credit_transfer.payment_acknowledged
Document required | object |
Event to notify that the requested payment cannot be applied.
Event name receive_rfi.unable_to_apply_payment
Document required | object |
Event to notify that additional RFP info has received
Event name send_rfi.received_additional_rfp_info
Document required | object |
Event to notify that the request to return of funds accepted
Event name send_rrof.accepted
Document required | object |
Event to notify that request to return of funds rejected.
Event name send_rrof.rejected
Document required | object |
Event to notify that RFP cancelled
Event namereceive_rfp.cancelled
Document required | object |
Event to notify that RFP received
Event name receive_rfp.received
Document required | object |
Event to notify that the account has been credited.
Event name receive_payment.account_credited
Document required | object |
Event to notify that the account credit is reversed.
Event Name receive_payment.account_credit_reversed
Document required | object |
Event to notify that the payment has been reversed by the system.
Event Name receive_payment.system_reversal
Document required | object |
Event to notify that the payment is accepted without posting.
Event name receive_payment.account_credited_posting_pending
Document required | object |
Event to notify that the payment is accepted and settlement completed.
Event name receive_payment.accepted_settlement_completed
Document required | object |
Event to notify that additional payment info has received
Event name send_rfi.received_additional_payment_info
Document required | object |
Event to notify that the requested RFP cannot be applied.
Event name receive_rfi.unable_to_apply_rfp
Document required | object |
Event to notify that the RFP request has been accepted.
Event name send_rfp.accepted
Document required | object |
Event to notify that RFP request is rejected
Event namesend_rfp.rejected
Document required | object |
Event to notify that the requested RROF has been assigned to the creditor.
Event name receive_rrof.assigned_to_creditor
Document required | object |
Event to notify that the remittance advice has been received.
Event name receive_remittance_advice.received
Document required | object |