Payment

Payment snapshot for payment.succeeded and payment.failed events. Use status and the captured and paid fields to reconcile the payment outcome.

  • Payment status at the time of the event.

    values
    • failed

      The payment failed; inspect failureCode and failureMessage.

    • pending

      The payment is still pending; wait for its outcome.

    • succeeded

      The payment succeeded; inspect captured and amountCaptured for the capture result.

  • Payment ID.

  • Time the Payment was created.

  • Time the Payment was last updated.

  • Payment amount. Expressed in the smallest currency unit.

  • Three-letter currency code.

  • Number of decimal places used for amounts in this currency.

  • true if the charge succeeded, or was successfully authorized for later capture.

  • If the payment was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.

  • Amount already captured. Expressed in the smallest currency unit.

  • Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.

  • Amount already refunded. Expressed in the smallest currency unit.

  • Account associated with the Payment.

  • Related Payment Intent ID.

  • Related Payment Method ID.

  • Related Customer ID.

  • Failure code when the Payment failed.

  • Description of the payment failure.

  • Your reference for this Payment.

  • Description attached to the Payment.

  • Whether the resource belongs to live mode or test mode.

  • Metadata attached to the resource.

    Metadata attached to the resource.