# Square Online Checkout -\> APIs with Card on File

**URL:** <https://developer.squareup.com/forums/t/square-online-checkout-apis-with-card-on-file/10904>\
**Category:** Questions\
**Created:** [October 4, 2023, 3:06am UTC](https://developer.squareup.com/forums/t/square-online-checkout-apis-with-card-on-file/10904 "2023-10-04T03:06:17Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![johnblythe](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/johnblythe/32/2339_2.png) [@johnblythe](https://developer.squareup.com/forums/u/johnblythe)\
**Post date:** [October 9, 2023, 10:03pm UTC](https://developer.squareup.com/forums/t/square-online-checkout-apis-with-card-on-file/10904/33 "2023-10-09T22:03:12Z")

</div>

> [@johnblythe](#):
>
> `8ZE7FH29YD1GZDPK0WMAJ3XB04`

when i look up the customer via `retrieveCustomer` and using the `id` i don’t see any payment information. how can i get that from a customer who may already have an `ON_FILE` method?

using `listCards` w a `customerId` pulls back a `{}` response. i can’t see anything else at the moment in API Explorer that would seem to be promising for getting my on file card :\

---

_[View the full topic](https://developer.squareup.com/forums/t/square-online-checkout-apis-with-card-on-file/10904)._
