v1

latestOpenAPI 3.1.02026-08-06611872.2 KB
Personal Payment Sources

List personal payment sources for a User

get/v2/payment/users/{userId}/payment-sources

Query parameters

offsetinteger

Indicates from where in the list of Payment Sources the server should start.

limitinteger

Maximum number of results to be fetched for the query.

Response

OK

Example response

{
  "paymentSourceInfos": [
    {
      "paymentSource": {
        "type": "CARD",
        "card": {
          "company": "VISA",
          "name": "Harrison Schwartz",
          "address": {
            "addressLines": [
              "Golden Gate Bridge"
            ],
            "administrativeArea": "CA",
            "administrativeAreaName": "California",
            "description": "San Francisco Home",
            "isDefault": true,
            "languageCode": "en",
            "locality": "San Francisco",
            "locationCode": "LAX",
            "organization": "Spotnana",
            "postalCode": "94130",
            "continentCode": "AF",
            "regionCode": "US",
            "regionName": "America",
            "revision": 1,
            "sortingCode": "Jamaica",
            "timezone": "America/Los_Angeles",
            "coordinates": {
              "latitude": 77.1025,
              "longitude": 28.7041
            }
          },
          "number": "4111111111111111",
          "cvv": "012",
          "label": "Label amex",
          "expiry": {
            "expiryMonth": 1,
            "expiryYear": 2010
          }
        }
      },
      "filter": {
        "type": "PERSONAL",
        "travelTypes": [
          "AIR"
        ]
      },
      "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40"
    }
  ]
}