CardMetadata
Stay organized with collections
Save and categorize content based on your preferences.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["\u003cp\u003eCardMetadata provides details about the card used in a transaction, including issuer, country of issuance, network, and card type.\u003c/p\u003e\n"],["\u003cp\u003eThis metadata is intended for processing and debugging purposes and may not be displayed to the user.\u003c/p\u003e\n"],["\u003cp\u003eCardType is a required field that specifies whether the card is a credit, debit, or prepaid card.\u003c/p\u003e\n"],["\u003cp\u003ePayment integrators may optionally provide issuer name, issuing country code, and supported networks for the card.\u003c/p\u003e\n"]]],["The core content defines `CardMetadata`, represented in JSON, containing details about a card. Fields include the optional `issuerName`, `issuingCountryCode`, and `networks`, and the required `cardType`. `cardType` is an enum with values like `CREDIT_CARD`, `DEBIT_CARD`, and `PREPAID_CARD`. It also includes options to specify when a type is unspecified or unable to be specified by the integrator.\n"],null,["# CardMetadata\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [CardType](#CardType)\n\nMetadata about the card returned from the payment integrator that may be useful for future processing and debugging.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"issuerName\": string, \"issuingCountryCode\": string, \"networks\": [ string ], \"cardType\": enum (/pay/card-fop-v1/payment-integrator-card-fop-api/CardMetadata#CardType) } ``` |\n\n| Fields ||\n|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `issuerName` | `string` **OPTIONAL**: The name of the card issuer. This is for internal use only and can take whatever format is most convenient for the payment integrator. It will not be displayed to the user and does not have to be human readable. |\n| `issuingCountryCode` | `string` **OPTIONAL**: The country code of the country that this card was issued in using ISO-3166-1 Alpha-2 format. |\n| `networks[]` | `string` **OPTIONAL**: The networks that this card can be processed on. These should be in upper case. e.g. VISA, MASTERCARD, AMEX |\n| `cardType` | `enum (`[CardType](/pay/card-fop-v1/payment-integrator-card-fop-api/CardMetadata#CardType)`)` **REQUIRED**: The type of card. |\n\nCardType\n--------\n\nThe type of card.\n\n| Enums ||\n|---------------------------------------|---------------------------------------------------------------|\n| `CARD_TYPE_UNSPECIFIED` | Do not ever set this default value! |\n| `INTEGRATOR_CANNOT_SPECIFY_CARD_TYPE` | The payment integrator is not able to specify the Card Class. |\n| `CREDIT_CARD` | This card is a CREDIT card |\n| `DEBIT_CARD` | This card is a DEBIT card |\n| `PREPAID_CARD` | This card is a PREPAID card |"]]