IssueCardResponse

Response object for the issueCard method.

JSON representation
{
  "responseHeader": {
    object (ResponseHeader)
  },
  "result": {
    object (IssueCardResult)
  }
}
Fields
responseHeader

object (ResponseHeader)

REQUIRED: Common header for all responses.

result

object (IssueCardResult)

REQUIRED: Details corresponding to the result.

IssueCardResult

Details corresponding to the result.

JSON representation
{

  // Union field result can be only one of the following:
  "success": {
    object (SuccessDetails)
  },
  "riskDecline": {
    object (Empty)
  }
  // End of list of possible types for union field result.
}
Fields

Union field result.

result can be only one of the following:

success

object (SuccessDetails)

The card has been successfully issued.

riskDecline

object (Empty)

The user has been declined by the bank's risk engine.

SuccessDetails

JSON representation
{
  "paymentCardDetails": {
    object (PaymentCardDetails)
  }
}
Fields
paymentCardDetails

object (PaymentCardDetails)

REQUIRED: The full details of the payment card.

PaymentCardDetails

The full details of a payment card.

JSON representation
{
  "accountNumber": string,
  "displayExpiration": {
    object (DisplayExpiration)
  },
  "expirationTimestamp": {
    object (Timestamp)
  },
  "paymentNetworks": [
    enum (PaymentNetwork)
  ],
  "cardType": enum (CardType)
}
Fields
accountNumber

string

REQUIRED: The full card number (i.e., FPAN).

displayExpiration

object (DisplayExpiration)

REQUIRED: Card expiration date for displaying to the user. Uses the traditional MM/YY format cardholders expect.

expirationTimestamp

object (Timestamp)

REQUIRED: Timestamp of when this card will expire. Supplements the displayExpiration with an exact timestamp that can be used by automated systems. The displayExpiration is expected to correspond to this timestamp in UTC time. For example, an expiration timestamp correspoding to 2022-12-31 23:59:59 UTC will have a displayExpiration of "12/22".

paymentNetworks[]

enum (PaymentNetwork)

REQUIRED: The payment networks on which the card is accepted.

cardType

enum (CardType)

REQUIRED: The type of card that was issued.

DisplayExpiration

JSON representation
{
  "expirationMonth": string,
  "expirationYear": string
}
Fields
expirationMonth

string

REQUIRED: Expiration month, formatted MM.

expirationYear

string

REQUIRED: Expiration year, formatted YY.

CardType

The type of card.

Enums
CARD_TYPE_UNSPECIFIED Do not ever set this default value!
INTEGRATOR_CANNOT_SPECIFY_CARD_TYPE The payment integrator is not able to specify the Card Class.
CREDIT_CARD This card is a CREDIT card
DEBIT_CARD This card is a DEBIT card