Skip to main content

Documentación

Retrieve Webhook

Retrieve a webhook.

Use List Webhooks to find the IDs of webhooks.

    • webhook

    • ID of the webhook. String starting with wh_.

  • /v1/webhooks/:webhook

  • Retrieve Webhook

  • curl -X get 'https://sandboxapi.rapyd.net/v1/webhooks/wh_641d85ccab0dc07cb0cd3597aa25df05' \
    -H 'access_key: your-access-key-here' \
    -H 'Content-Type: application/json' \
    -H 'idempotency: your-idempotency-parameter-here' \
    -H 'salt: your-random-string-here' \
    -H 'signature: your-calculated-signature-here' \
    -H 'timestamp: your-unix-timestamp-here'
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "52b5fd1c-cbfc-4a1e-afcb-b1dc0741b194"
        },
        "data": {
            "token": "wh_641d85ccab0dc07cb0cd3597aa25df05",
            "type": "CARD_ADDED_SUCCESSFULLY",
            "data": {
                "id": null,
                "type": "gb_amex_card",
                "category": "card",
                "metadata": {},
                "image": "",
                "webhook_url": "",
                "supporting_documentation": "",
                "next_action": "3d_verification",
                "full_name": {
                    "first_name": "John",
                    "middle_name": "Johnson",
                    "last_name": "Doe"
                },
                "account_name_inquiry": {
                    "account_name_inquiry_result": "not_performed",
                    "account_name_inquiry_details": {
                        "last_name": null,
                        "first_name": null,
                        "middle_name": null
                    }
                },
                "name": "John Doe",
                "last4": "1111",
                "acs_check": "unchecked",
                "cvv_check": "unchecked",
                "bin_details": {
                    "type": "DEBIT",
                    "brand": "VISA",
                    "level": "CLASSIC",
                    "issuer": "CONOTOXIA SP. Z O.O",
                    "country": "PL",
                    "bin_number": "411111"
                },
                "expiration_year": "30",
                "expiration_month": "12",
                "fingerprint_token": "ocfp_e599f990674473ce6283b245e9ad2467",
                "network_reference_id": 941438,
                "payment_account_reference": "V0012EE8QZTYHJVNHT4L2FOZXDHJS"
            },
            "attempts": [],
            "status": "ERR",
            "last_attempt_at": 1763019227,
            "created_at": 1763019075,
            "next_attempt_at": 1763019226
        }
    }