CardVerificationDeclined
v1.0.0

Fired when a card verification is declined

Properties

id* :

Unique identifier of the payment

cardId* :

Id of the Tokenized card used. Issued by the Payment Service Provider.

userId* :

The ID of the subscriber who has done the payment 

paymentServiceProvider* :

Name of the Payment Service Provider used.

name* :

name of the customer in the card used by the user for the payment.

brand* :

brand of the card [VISA, MASTERCARD, etc..] added by the user.

expiryMonth* :

Expiry Month of the card added by the user.

expiryYear* :

Expiry Year of the card aedded by the user.

lastFour* :

Last four number of the card added by the user.

firstSix* :

First six number of the card added by the user.

cardType* :

Type of the card [DEBIT, CREDIT, etc..] added by the user.

reason* :

Reason for failing to verify the card by the Payment Service Provider.

metadata* :

Set of key-value pairs that can be set by initiator service/user. This can be useful for storing additional information about the object in a structured format.

createdAt* :

The date when the user created the checkout session.
flowchart LR l-Payment_Service[Payment Service]:::producer-->CardVerificationDeclined[CardVerificationDeclined]:::event classDef event stroke:#b99685,stroke-width: 4px; classDef producer stroke:#75d7b6,stroke-width: 2px; classDef consumer stroke:#818cf8,stroke-width: 2px; CardVerificationDeclined[CardVerificationDeclined]:::event-->r-API_Service[API Service]:::consumer click l-Payment_Service href "/services/Payment Service" "Go to Payment Service" _self click r-API_Service href "/services/API Service" "Go to API Service" _self click CardVerificationDeclined href "/events/CardVerificationDeclined" "Go to CardVerificationDeclined" _self
CardVerificationDeclined Schema (yml)
openapi: 3.0.0
info:
  version: "1.0.0"
  title: CardVerificationDeclined
paths: {}
components:
  schemas:
    CardVerificationDeclined:
      type: object
      required:
        - metadata
        - data
      properties:
        data:
          "$ref": "#/components/schemas/Data"
        metadata:
          "$ref": "#/components/schemas/Metadata"
    Data:
      type: object
      required:
        - id
        - cardId
        - userId
        - paymentServiceProvider
        - name
        - brand
        - expiryMonth
        - expiryYear
        - lastFour
        - firstSix
        - cardType
        - allowAutoCharge
        - reason
        - createdAt
      properties:
        id:
          type: string
        cardId:
          type: string
        userId:
          type: string
        name:
          type: string
        brand:
          type: string
        paymentServiceProvider:
          type: string
        expiryMonth:
          type: string
        expiryYear:
          type: string
        lastFour:
          type: string
        firstSix:
          type: string
        cardType:
          type: string
        allowAutoCharge:
          type: boolean
        reason:
          type: string
        metadata:
          type: object
        createdAt:
          type: string
          format: date-time
    Metadata:
      type: object
      required:
        - serviceFunction
        - version
      properties:
        serviceFunction:
          type: string
        version:
          type: string
Edit this pageLast updated on 2024/4/2