PaymentAttempt Result

Event metadata

  • name: ACQUIRING
  • types:
    • acquiring.payment_attempt.created
    • acquiring.payment_attempt.capture_requested
    • acquiring.payment_attempt.cancelled
    • acquiring.payment_attempt.failed

Request body

FieldsData TypeDescription
event_idstringA unique ID for the event.
event_namestringEvent name.
event_typestringEvent type.
source_idstringPayment attempt id
versionstringAPI Version number.
dataobjectRelated business objects.

Notification example

acquiring.payment_attempt.created

Triggered when PA status is INITIATED.

{
  "version": "V1.6.0",
  "event_name": "ACQUIRING",
  "event_type": "acquiring.payment_attempt.created",
  "event_id": "701d250d-5515-496a-8f8d-e523d3fa797e",
  "source_id": "PA1955807939776221184",
  "data": {
    "amount": "7.77",
    "attempt_status": "INITIATED",
    "cancel_time": null,
    "cancellation_reason": "",
    "captured_amount": "7.77",
    "complete_time": null,
    "create_time": "2025-08-14T09:45:24.654845733+08:00",
    "currency": "SGD",
    "failure_code": "",
    "merchant_order_id": "40bf544c-7a47-42d5-8cea-3de127ab27f8",
    "payment_attempt_id": "PA1955807939776221184",
    "payment_intent_id": "PI1955807939642003456",
    "payment_method": {
      "card": {
        "card_name": "UQPAY",
        "card_number": "534693******8117",
        "network": "mastercard"
      },
      "type": "card"
    },
    "refunded_amount": "0"
  }
}

acquiring.payment_attempt.capture_requested

Triggered when PA status is CAPTURE_REQUESTED. Receiving this event indicates the consumer has completed the payment, and the corresponding PI transitions to SUCCESS.

{
  "version": "V1.6.0",
  "event_name": "ACQUIRING",
  "event_type": "acquiring.payment_attempt.capture_requested",
  "event_id": "d71c80b8-af3e-4cec-b495-fdb2ce1d15fd",
  "source_id": "PA1955807939776221184",
  "data": {
    "amount": "7.77",
    "attempt_status": "CAPTURE_REQUESTED",
    "cancel_time": null,
    "cancellation_reason": "",
    "captured_amount": "7.77",
    "complete_time": null,
    "create_time": "2025-08-14T09:45:24.654845733+08:00",
    "currency": "SGD",
    "failure_code": "",
    "merchant_order_id": "40bf544c-7a47-42d5-8cea-3de127ab27f8",
    "payment_attempt_id": "PA1955807939776221184",
    "payment_intent_id": "PI1955807939642003456",
    "payment_method": {
      "card": {
        "card_name": "UQPAY",
        "card_number": "534693******8117",
        "network": "mastercard"
      },
      "type": "card"
    },
    "refunded_amount": "0"
  }
}

acquiring.payment_attempt.cancelled

Triggered when PA status is CANCELLED.

{
  "version": "V1.6.0",
  "event_name": "ACQUIRING",
  "event_type": "acquiring.payment_attempt.cancelled",
  "event_id": "e330f97b-7f7f-475a-b784-5022fb2bae9c",
  "source_id": "PA1955810162824450048",
  "data": {
    "amount": "0.01",
    "attempt_status": "CANCELLED",
    "cancel_time": "2025-08-14T09:54:49.047422258+08:00",
    "cancellation_reason": "requested_by_customer",
    "captured_amount": "0.01",
    "complete_time": "2025-08-14T09:54:49.047422258+08:00",
    "create_time": "2025-08-14T09:54:14.67+08:00",
    "currency": "SGD",
    "failure_code": "",
    "merchant_order_id": "01f8c95d-0c44-400f-90c4-9e0ca0185bf9",
    "payment_attempt_id": "PA1955810162824450048",
    "payment_intent_id": "PI1955810162719592448",
    "payment_method": {
      "type": "wechatpay",
      "wechatpay": {
        "flow": "qrcode",
        "os_type": ""
      }
    },
    "refunded_amount": "0"
  }
}

acquiring.payment_attempt.failed

Triggered when PA status is FAILED.

  • For one-to-one mapping (one PI contains only one PA): the corresponding PI can be considered failed as well (actually the PI itself transitions to FAILED after the system auto-close the PI).
  • For one-to-many mapping (one PI may include multiple PAs): the failure of one PA does not mean the PI has failed, and merchants can still initiate other PAs under the same PI.
{
  "version": "V1.6.0",
  "event_name": "ACQUIRING",
  "event_type": "acquiring.payment_attempt.failed",
  "event_id": "5f201c10-c1c3-46a5-985f-0eadab6ac1d2",
  "source_id": "PA1955811024116387840",
  "data": {
    "amount": "7.77",
    "attempt_status": "FAILED",
    "cancel_time": null,
    "cancellation_reason": "",
    "captured_amount": "7.77",
    "complete_time": "2025-08-14T09:57:40.064401765+08:00",
    "create_time": "2025-08-14T09:57:40.018193963+08:00",
    "currency": "SGD",
    "failure_code": "invalid_encoding",
    "merchant_order_id": "16eb18e3-5626-43ef-90d0-54e39241f6e1",
    "payment_attempt_id": "PA1955811024116387840",
    "payment_intent_id": "PI1955811023994753024",
    "payment_method": {
      "card": {
        "card_name": "UQPAY",
        "card_number": "534693******8117",
        "network": "mastercard"
      },
      "type": "card"
    },
    "refunded_amount": "0"
  }
}