Skip to content

Commit

Permalink
Changes generated by 49fa4594a918fd6b126b2696bd3bb10fc80430b3
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-robot committed Oct 26, 2023
1 parent b2d7e83 commit fa67122
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/types/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ export interface BillingRequestLinks {
// ID of the associated organisation.
organisation?: string;

// (Optional) ID of the associated payment provider
payment_provider?: string;

// (Optional) ID of the associated payment request
payment_request?: string;

Expand Down Expand Up @@ -1530,6 +1533,10 @@ export interface CreditorBankAccount {
// Key-value store of custom data. Up to 3 keys are permitted, with key names
// up to 50 characters and values up to 500 characters.
metadata?: JsonMap;

// Verification status of the Bank Account. Can be one of `pending`,
// `in_review` or `successful`
verification_status?: CreditorBankAccountVerificationStatus;
}

/** Type for a creditorbankaccountcreaterequestlinks resource. */
Expand All @@ -1551,6 +1558,13 @@ export interface CreditorBankAccountLinks {
creditor?: string;
}

export enum CreditorBankAccountVerificationStatus {
Pending = 'pending',
InReview = 'in_review',
Successful = 'successful',
CouldNotVerify = 'could_not_verify',
}

/** Type for a currencyexchangerate resource. */
export interface CurrencyExchangeRate {
// The exchange rate from the source to target currencies provided with up to
Expand Down Expand Up @@ -2615,7 +2629,7 @@ export interface MandateImportEntryCustomer {

// Customer's email address. Required in most cases, as this allows GoCardless
// to send notifications to this customer.
email: string | null;
email?: string | null;

// Customer's surname. Required unless a `company_name` is provided.
family_name?: string | null;
Expand Down

0 comments on commit fa67122

Please sign in to comment.