From 34b62c71c04453ea5ca7c7f74d667f3c76e497be Mon Sep 17 00:00:00 2001 From: MarkWatts150 <113614521+MarkWatts150@users.noreply.github.com> Date: Mon, 17 Feb 2025 12:23:33 +0000 Subject: [PATCH] Update Payment Message Assessment Failed Webhook example (#224) Docs change only - Update Payment Message Assessment Failed webhook example --- ...t-message-assessment-failed-webhook-v1.mdx | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/webhooks/payment-message-assessment-failed-webhook-v1.mdx b/webhooks/payment-message-assessment-failed-webhook-v1.mdx index 76fb34be..e30fef02 100644 --- a/webhooks/payment-message-assessment-failed-webhook-v1.mdx +++ b/webhooks/payment-message-assessment-failed-webhook-v1.mdx @@ -47,7 +47,7 @@ The table below covers common scenarios that can trigger this event. We cannot p | `Creditors` | Creditors information object.
Type: `object`
Contains `Reference`, `Amount`, `CurrencyCode` *(optional)*, `IBAN` and `BBAN` elements.

`Reference`
Type:`string`
Max. length: `140`

`Amount`: Transaction amount
Type:`int`

`CurrencyCode` *(optional)*: Code of transaction currency, `GBP`

**Required**
`IBAN`: International Bank Account Number associated with the account.
Type: `string`
Max. length: `34`

**Required**
`BBAN`: Basic Bank Account number associated with the account.
Type: `string`
Max. length: `30` | | `Nonce` | Cryptographically secure number generated by ClearBank for every single webhook. A nonce number is generated randomly and should not be used as a check for duplication. | -#### Example payment message assessment failed webhook request body +#### Example Payment Message Assessment Failed webhook request body ```json { @@ -55,19 +55,13 @@ The table below covers common scenarios that can trigger this event. We cannot p "Version":1, "Payload":{ "MessageId":"624e0276-1b27-4a80-a06d-51759711bc0e", - "PaymentMethodType":"Transfer", + "PaymentMethodType":"FasterPayments", "AssesmentFailure":[ { "EndToEndId":"51236da640c9", "Reasons":[ "Insufficient Funds" ] - }, - { - "EndToEndId":"fa2b005bf7a4", - "Reasons":[ - "Account closed" - ] } ], "AccountIdentification":{ @@ -82,13 +76,6 @@ The table below covers common scenarios that can trigger this event. We cannot p "CurrencyCode":"GBP", "IBAN":"GB00CUBK44556687654321", "BBAN":"CUBK44556687654321" - }, - { - "Reference":"0bae808d96bb42a6a892bc9ade169993", - "Amount":17.95, - "CurrencyCode":"GBP", - "IBAN":"GB00CUBK11223312345678", - "BBAN":"CUBK11223312345678" } ] } @@ -101,6 +88,6 @@ The table below covers common scenarios that can trigger this event. We cannot p ```json { - "Nonce": 828803944 + "Nonce": 1082937278 } ```