GOV.UK Pay · Schema

CardDetailsFromResponse

PaymentsGovernmentUKPublic SectorRESTPCI DSSRefundsRecurring PaymentsWebhooks

Properties

Name Type Description
billing_address object
card_brand string
card_type string
cardholder_name string
expiry_date string
first_digits_card_number string
last_digits_card_number string
View JSON Schema on GitHub

JSON Schema

CardDetailsFromResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/gov-uk-pay/blob/main/json-schema/CardDetailsFromResponse.json",
  "title": "CardDetailsFromResponse",
  "type": "object",
  "properties": {
    "billing_address": {
      "$ref": "#/components/schemas/Address"
    },
    "card_brand": {
      "type": "string"
    },
    "card_type": {
      "type": "string"
    },
    "cardholder_name": {
      "type": "string"
    },
    "expiry_date": {
      "type": "string"
    },
    "first_digits_card_number": {
      "type": "string"
    },
    "last_digits_card_number": {
      "type": "string"
    }
  }
}