Does GetPayment immediately include pending refunds in refund_ids?

Hello Square Developer Support,

We’re implementing payment reconciliation using Square API version 2024-12-18.

We understand that refunded_money may be omitted when no refunded amount is reported.

Could you clarify:

  1. Are pending refunds immediately and completely represented in GetPayment.refund_ids?

  2. Does this include cross-method refunds, such as a card payment refunded to a gift card?

  3. Are there any consistency delays where a refund has been initiated but neither refund_ids nor refunded_money reflects it?

We’re trying to safely reconcile an existing paid Square Invoice without overlooking pending refunds.

  1. refund_ids includes PENDING refunds, and pending amounts contribute to refunded_money. Use GetPaymentRefund.status to distinguish pending from completed refunds.
  2. Cross-method refunds to gift cards are available for applications using Square API version 2024-08-21 and later.
  3. No, are you experiencing any missing/delayed refunds in production?? For reconciliation, retain known refund IDs, track refund webhooks and statuses, and backfill using paginated ListPaymentRefunds, which is eventually consistent. Don’t treat absent payment refund fields as conclusive

Hope this helps.

Thank you for the clarification!

We’re not currently experiencing missing or delayed refunds in Production.

Our situation involves a Square Invoice that was edited before payment and subsequently paid in full. Our application needs to reconcile the revised invoice and completed payment while ensuring there are no pending or completed refunds.

Your explanation of refund_ids, refunded_money, and GetPaymentRefund.status is helpful.

We’ll preserve known refund IDs and account for eventual consistency rather than treating absent fields as conclusive evidence of no refunds.

Thank you for your help!