Skip to content

Commit

Permalink
Update Payment Message Assessment Failed Webhook example (#224)
Browse files Browse the repository at this point in the history
Docs change only - Update Payment Message Assessment Failed webhook example
  • Loading branch information
MarkWatts150 authored Feb 17, 2025
1 parent 0ee79e9 commit 34b62c7
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions webhooks/payment-message-assessment-failed-webhook-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,21 @@ The table below covers common scenarios that can trigger this event. We cannot p
| `Creditors` | Creditors information object. <br />Type: `object` <br/>Contains `Reference`, `Amount`, `CurrencyCode` *(optional)*, `IBAN` and `BBAN` elements. <br /><br /> `Reference`<br/>Type:`string` <br />Max. length: `140`<br /><br /> `Amount`: Transaction amount<br />Type:`int`<br /><br />`CurrencyCode` *(optional)*: Code of transaction currency, `GBP`<br /><br /> **Required**<br />`IBAN`: International Bank Account Number associated with the account.<br /> Type: `string` <br /> Max. length: `34` <br /><br /> **Required**<br /> `BBAN`: Basic Bank Account number associated with the account.<br /> Type: `string` <br /> 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
{
"Type":"PaymentMessageAssesmentFailed",
"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":{
Expand All @@ -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"
}
]
}
Expand All @@ -101,6 +88,6 @@ The table below covers common scenarios that can trigger this event. We cannot p

```json
{
"Nonce": 828803944
"Nonce": 1082937278
}
```

0 comments on commit 34b62c7

Please sign in to comment.