Square Connect API Refund Clarification -


if merchant issues refund, show in both refunds list , retrieve payment endpoint? there situations in may show in one, not other (such cash, check, or other tender types)?

the use case external app storing / caching payments refunds need update stored payments keep accurate sales figures. if refunds show in both places, seems best way update stored payments in use case load refunds list periodically , update stored payment using retrieve payment endpoint.

regardless of tender type, every refund available both list refunds endpoint , list/retrieve payment endpoints. solution sounds one, since list refunds endpoint chronological date of refund, opposed date of original payment.

you can use payment_id included in returned refund objects stored copy of corresponding payment.


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -