v1

latestOpenAPI 3.1.02026-08-06611872.2 KB
Personal Payment Sources

Fetch a personal payment source

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

Response

OK

Example response

{
  "paymentSource": {
    "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"
  }
}