Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for description, iin and issuer in payment_method_details[card_present] and payment_method_details[interac_present] on Charge #1038

Merged
merged 1 commit into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions types/2020-08-27/Cards.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ declare module 'stripe' {
deleted?: void;

/**
* Card description. (Only for internal use only and not typically available in standard API requests.)
* Card description. (For internal use only and not typically available in standard API requests.)
*/
description?: string;

Expand Down Expand Up @@ -128,12 +128,12 @@ declare module 'stripe' {
funding: string;

/**
* Issuer identification number of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
*/
iin?: string;

/**
* Issuer bank name of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer bank name of the card. (For internal use only and not typically available in standard API requests.)
*/
issuer?: string;

Expand Down
36 changes: 33 additions & 3 deletions types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ declare module 'stripe' {
country: string | null;

/**
* Card description. (Only for internal use only and not typically available in standard API requests.)
* Card description. (For internal use only and not typically available in standard API requests.)
*/
description?: string | null;

Expand All @@ -672,7 +672,7 @@ declare module 'stripe' {
funding: string | null;

/**
* Issuer identification number of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
*/
iin?: string | null;

Expand All @@ -684,7 +684,7 @@ declare module 'stripe' {
installments: Card.Installments | null;

/**
* Issuer bank name of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer bank name of the card. (For internal use only and not typically available in standard API requests.)
*/
issuer?: string | null;

Expand Down Expand Up @@ -908,6 +908,11 @@ declare module 'stripe' {
*/
country: string | null;

/**
* Card description. (For internal use only and not typically available in standard API requests.)
*/
description?: string | null;

/**
* Authorization response cryptogram.
*/
Expand Down Expand Up @@ -938,6 +943,16 @@ declare module 'stripe' {
*/
generated_card: string | null;

/**
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
*/
iin?: string | null;

/**
* Issuer bank name of the card. (For internal use only and not typically available in standard API requests.)
*/
issuer?: string | null;

/**
* The last four digits of the card.
*/
Expand Down Expand Up @@ -1174,6 +1189,11 @@ declare module 'stripe' {
*/
country: string | null;

/**
* Card description. (For internal use only and not typically available in standard API requests.)
*/
description?: string | null;

/**
* Authorization response cryptogram.
*/
Expand Down Expand Up @@ -1204,6 +1224,16 @@ declare module 'stripe' {
*/
generated_card: string | null;

/**
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
*/
iin?: string | null;

/**
* Issuer bank name of the card. (For internal use only and not typically available in standard API requests.)
*/
issuer?: string | null;

/**
* The last four digits of the card.
*/
Expand Down
6 changes: 3 additions & 3 deletions types/2020-08-27/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ declare module 'stripe' {
country: string | null;

/**
* Card description. (Only for internal use only and not typically available in standard API requests.)
* Card description. (For internal use only and not typically available in standard API requests.)
*/
description?: string | null;

Expand All @@ -176,12 +176,12 @@ declare module 'stripe' {
funding: string;

/**
* Issuer identification number of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
*/
iin?: string | null;

/**
* Issuer bank name of the card. (Only for internal use only and not typically available in standard API requests.)
* Issuer bank name of the card. (For internal use only and not typically available in standard API requests.)
*/
issuer?: string | null;

Expand Down