To list all the vaulted payment methods stored, call the GET /payment-methods API.

curl -i -X GET "https://api.example.gr4vy.app/payment-methods" \
    -H "Authorization: Bearer [JWT_TOKEN]"

The response is a list of all the previously stored payment methods.

GET /payment-methods
{
  "items": [
    {
      "type": "payment-method",
      "id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
      "status": "stored",
      "method": "card",
      "created_at": "2013-07-16T19:23:00.000+00:00",
      "updated_at": "2013-07-16T19:23:00.000+00:00",
      "external_identifier": "user-789123",
      "buyer": {
        "type": "buyer",
        "id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
        "external_identifier": "user-789123",
        "display_name": "John L.",
        "created_at": "2013-07-16T19:23:00.000+00:00",
        "updated_at": "2013-07-16T19:23:00.000+00:00"
      },
      "details": {
        "suffix": "1111",
        "scheme": "visa",
        "expiration_date": "11/25"
      }
    }
  ],
  "limit": 20,
  "next_cursor": null,
  "previous_cursor": null
}