Skip to main content

Documentation

Payment Captured Webhook

The PAYMENT_CAPTURED webhook is sent when Rapyd captures payment from the customer’s card.

  • PAYMENT_CAPTURED Webhook

  • {
        "id": "wh_609cc7ca6980c574dfad9ede4edceaff",
        "type": "PAYMENT_CAPTURED",
        "data": {
          "id": "payment_3057b4bfb673b3830eff6d7e996c9512",
          "mid": "",
          "paid": true,
          "order": null,
          "amount": 10.74,
          "escrow": null,
          "status": "CLO",
          "address": null,
          "dispute": null,
          "fx_rate": 1,
          "invoice": "",
          "outcome": null,
          "paid_at": 1640088346,
          "refunds": null,
          "captured": true,
          "ewallets": [
            {
              "amount": 10.74,
              "percent": 100,
              "ewallet_id": "ewallet_e67c8ad63200d781470a04107fbd7c59",
              "refunded_amount": 0
            }
          ],
          "metadata": {
            "merchant_defined": "created"
          },
          "refunded": false,
          "flow_type": "",
          "created_at": 1640088295,
          "error_code": "",
          "ewallet_id": "ewallet_e67c8ad63200d781470a04107fbd7c59",
          "expiration": 1640693095,
          "fixed_side": "",
          "is_partial": false,
          "description": "",
          "next_action": "not_applicable",
          "country_code": "US",
          "failure_code": "",
          "instructions": [],
          "payment_fees": null,
          "redirect_url": "",
          "visual_codes": {},
          "cancel_reason": null,
          "currency_code": "USD",
          "group_payment": "",
          "receipt_email": "",
          "textual_codes": {},
          "customer_token": "cus_53ea1a93b29081adc036392f9280145a",
          "payment_method": "card_09fadaefd9764bc89a45a5812fc9019b",
          "receipt_number": "",
          "transaction_id": "",
          "failure_message": "",
          "initiation_type": "customer_present",
          "original_amount": 10.74,
          "refunded_amount": 0,
          "error_payment_url": "",
          "payment_method_data": {
            "id": "card_09fadaefd9764bc89a45a5812fc9019b",
            "name": "John Doe",
            "type": "us_visa_card",
            "image": "",
            "last4": "1111",
            "category": "card",
            "metadata": null,
            "acs_check": "unchecked",
            "cvv_check": "unchecked",
            "bin_details": {
              "type": null,
              "brand": null,
              "country": null,
              "bin_number": "411111"
            },
            "next_action": "not_applicable",
            "webhook_url": "",
            "expiration_year": "23",
            "expiration_month": "12",
            "fingerprint_token": "ocfp_e599f990674473ce6283b245e9ad2467",
            "supporting_documentation": ""
          },
          "auth_code": "112233",
          "payment_method_type": "us_visa_card",
          "complete_payment_url": "",
          "statement_descriptor": "Rapyd",
          "merchant_reference_id": "",
          "payment_method_options": {},
          "merchant_requested_amount": null,
          "merchant_requested_currency": null,
          "payment_method_type_category": "card"
        },
        "trigger_operation_id": "2cbd47c3-4110-4037-966b-f0392dd65e0d",
        "status": "NEW",
        "created_at": 1640088346,
        "extended_timestamp": 1640088346123
      }