Responses

Common Responses for the object.

Get Response Parameters

Response Parameters

Property Description
id ID of the record
idempotency_key Idempotency key of the Outbound Message
sent_at Date and time the Outbound Message was sent
status Status of the Webhook
record_type Record type of the Outbound Message
subscription_id ID of the Subscription
webhook Object containing the Webhook data

Get Response Sample - Single

Response Sample

{
    "OutboundMessage": {
        "id": "OM01ZQ05833RVM9986KN",
        "idempotency_key": "561d2df4-f812-4af6-b6d0-d4395e9372c9",
        "sent_at": "2022-11-22T13:02:42Z",
        "status": "successful",
        "record_type": "webhook",
        "subscription_id": "SU013MQ0KN8X6JOXZG71",
        "webhook": {
            "response_code": "200 OK",
            "webhook_body": "{\"id\":\"OM01ZQ05833RVM9986KN\",\"idempotency_key\":\"561d2df4-f812-4af6-b6d0-d4395e9372c9\",\"sent_at\":\"2022-11-22T11:56:37Z\",\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"events\":[{\"id\":\"M01WLOKJYNRYNM8RX5Q\",\"reference\":\"F05AR22M00002633\",\"created_at\":\"2022-11-22T10:28:47Z\",\"edited_at\":\"2022-11-22T10:28:47Z\",\"status\":\"ongoing collection\",\"i_am_the_only_account_holder\":true,\"bacs_reason_code\":null,\"bacs_description\":null,\"event_type\":\"mandate.create\",\"event_source\":\"DDMS Service\",\"bacs_reference\":null,\"bacs_filename\":null,\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"created_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"edited_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"customer_account\":null,\"bank_account\":{\"id\":\"BA01YZ96J11YWR7JNEWD\",\"legacy_id\":null,\"account_name\":\"Jeremiah Alexander\",\"account_number\":\"*****709\",\"sort_code\":\"****08\",\"bank_name\":\"CITIBANK NA\"},\"originating_bank_account\":{\"id\":\"OB01O6YQRDJZWJVL359M\",\"legacy_id\":null,\"account_name\":\"CBA - FTB - 01\",\"account_number\":\"10020645\",\"sort_code\":\"834600\"},\"service_user_number\":{\"id\":\"SN019LVZMGJ2KD8K46WE\",\"sun_number\":\"100263\",\"sun_name\":\"Smarterpay Test\"}}]}"
        }
    }
}

Get Response Sample - Multiple

Response Sample

{
    "OutboundMessages": [
        {
            "id": "OM01ZQ05833RVM9986KN",
            "idempotency_key": "561d2df4-f812-4af6-b6d0-d4395e9372c9",
            "sent_at": "2022-11-22T13:02:42Z",
            "status": "successful",
            "record_type": "webhook",
            "subscription_id": "SU013MQ0KN8X6JOXZG71",
            "webhook": {
                "response_code": "200 OK",
                "webhook_body": "{\"id\":\"OM01ZQ05833RVM9986KN\",\"idempotency_key\":\"561d2df4-f812-4af6-b6d0-d4395e9372c9\",\"sent_at\":\"2022-11-22T11:56:37Z\",\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"events\":[{\"id\":\"M01WLOKJYNRYNM8RX5Q\",\"reference\":\"F05AR22M00002633\",\"created_at\":\"2022-11-22T10:28:47Z\",\"edited_at\":\"2022-11-22T10:28:47Z\",\"status\":\"ongoing collection\",\"i_am_the_only_account_holder\":true,\"bacs_reason_code\":null,\"bacs_description\":null,\"event_type\":\"mandate.create\",\"event_source\":\"DDMS Service\",\"bacs_reference\":null,\"bacs_filename\":null,\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"created_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"edited_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"customer_account\":null,\"bank_account\":{\"id\":\"BA01YZ96J11YWR7JNEWD\",\"legacy_id\":null,\"account_name\":\"Jeremiah Alexander\",\"account_number\":\"*****709\",\"sort_code\":\"****08\",\"bank_name\":\"CITIBANK NA\"},\"originating_bank_account\":{\"id\":\"OB01O6YQRDJZWJVL359M\",\"legacy_id\":null,\"account_name\":\"CBA - FTB - 01\",\"account_number\":\"10020645\",\"sort_code\":\"834600\"},\"service_user_number\":{\"id\":\"SN019LVZMGJ2KD8K46WE\",\"sun_number\":\"100263\",\"sun_name\":\"Smarterpay Test\"}}]}"
            }
        },
        {
            "id": "OM01NZWLJRVZGX6D8GQ9",
            "idempotency_key": "c9ce2998-b2f3-4152-b571-13f64f944183",
            "sent_at": "2022-11-22T13:02:41Z",
            "status": "successful",
            "record_type": "webhook",
            "subscription_id": "SU013MQ0KN8X6JOXZG71",
            "webhook": {
                "response_code": "200 OK",
                "webhook_body": "{\"id\":\"OM01NZWLJRVZGX6D8GQ9\",\"idempotency_key\":\"c9ce2998-b2f3-4152-b571-13f64f944183\",\"sent_at\":\"2022-11-22T11:56:37Z\",\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"events\":[{\"id\":\"M01137EJ7RLOR7J4QOM\",\"reference\":\"F05AR22M00002631\",\"created_at\":\"2022-11-22T10:28:47Z\",\"edited_at\":\"2022-11-22T10:28:47Z\",\"status\":\"ongoing collection\",\"i_am_the_only_account_holder\":true,\"bacs_reason_code\":null,\"bacs_description\":null,\"event_type\":\"mandate.create\",\"event_source\":\"DDMS Service\",\"bacs_reference\":null,\"bacs_filename\":null,\"client\":{\"id\":\"CL01LG420EJ9DP1VQWR9\"},\"created_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"edited_by\":{\"id\":\"CU01LG420EJ9VWP1VQWR\"},\"customer_account\":null,\"bank_account\":{\"id\":\"BA01YZ96J11YWR7JNEWD\",\"legacy_id\":null,\"account_name\":\"Jeremiah Alexander\",\"account_number\":\"*****709\",\"sort_code\":\"****08\",\"bank_name\":\"CITIBANK NA\"},\"originating_bank_account\":{\"id\":\"OB01O6YQRDJZWJVL359M\",\"legacy_id\":null,\"account_name\":\"CBA - FTB - 01\",\"account_number\":\"10020645\",\"sort_code\":\"834600\"},\"service_user_number\":{\"id\":\"SN019LVZMGJ2KD8K46WE\",\"sun_number\":\"100263\",\"sun_name\":\"Smarterpay Test\"}}]}"
            }
        }
    ]
}
  • Last modified: 2022/11/23 16:31