question

yilipiao avatar image
yilipiao asked yilipiao commented

How do i get last 4 digit of credit card of a payment of an order?


                

                

I am using API to get last 4 digit of credit card of a payment of an order for my accountant.

What API should I use?

I can find it under dashboard, but I can not get it through API.

OrdersPaymentsREST API
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian answered yilipiao commented
/v3/merchants/{
                 {mid}}/payments/{
                 {paymentId}}?expand=cardTransaction

Retrieve the payment and expand on cardTransaction per the above snippet.

https://docs.clover.com/docs/expanding-fields


1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you so much!

0 Likes 0 ·

Welcome to the
Clover Developer Community