POST
/
webhook-event
/
data-session-completed
curl --request POST \
  --url https://{yourDomain}/webhook-event/data-session-completed \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "test",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "referenceId": "<string>",
    "status": "open",
    "data": {
      "bankName": "<string>",
      "identity": {
        "name": "<string>",
        "dateOfBirth": "<string>"
      },
      "accounts": [
        {
          "name": "<string>",
          "accountType": "checking",
          "financialAddress": {
            "type": "<string>",
            "iban": {
              "iban": "<string>",
              "bic": "<string>",
              "accountHolderName": "<string>"
            },
            "sortCode": {
              "sortCode": "<string>",
              "accountNumber": "<string>",
              "accountHolderName": "<string>"
            },
            "bankCode": {
              "code": "<string>",
              "accountNumber": "<string>",
              "accountHolderName": "<string>"
            },
            "bban": {
              "bban": "<string>",
              "accountHolderName": "<string>",
              "bic": "<string>"
            }
          }
        }
      ]
    },
    "matchResult": "match",
    "metadata": {}
  }
}'

Body

application/json
Data of the webhook event
id
string
required

The unique id for the webhook.

type
enum<string>
required

The type of the webhook.

Available options:
test,
merchant_updated,
merchant_app_updated,
order_created,
order_updated,
refund_succeeded,
refund_failed,
payout_report_requested,
data_session_completed,
checkout_session_created,
checkout_session_updated,
checkout_session_expired,
checkout_session_completed,
payout_created,
payout_updated,
mandate_setup_started,
mandate_setup_succeeded,
mandate_setup_failed,
mandate_revoked,
user_payout.failed,
user_payout.paid,
user_payout.initiated
date
string
required

The date of the webhook.

payload
object
required

The payload is the data sessions that was completed.

Response

200

OK