@amos.com/node 0.1.73 → 0.1.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -718,8 +718,7 @@ interface paths {
718
718
  */
719
719
  get: operations["ListPaymentMethods"];
720
720
  put?: never;
721
- /** Create a payment method */
722
- post: operations["CreatePaymentMethod"];
721
+ post?: never;
723
722
  delete?: never;
724
723
  options?: never;
725
724
  head?: never;
@@ -1376,8 +1375,6 @@ interface components {
1376
1375
  account_holder_type?: string;
1377
1376
  account_type?: string;
1378
1377
  bank_name?: string;
1379
- /** @enum {string|null} */
1380
- failure_reason?: "activation_failed" | "processing_error" | "vault_failed" | "insufficient_funds" | "verification_failed" | null;
1381
1378
  fingerprint?: string | null;
1382
1379
  last4?: string;
1383
1380
  /** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
@@ -1440,8 +1437,8 @@ interface components {
1440
1437
  updated_at?: string;
1441
1438
  };
1442
1439
  CardProfileInput: {
1443
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1444
- card_holder_name?: string;
1440
+ /** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1441
+ card_holder_name?: string | null;
1445
1442
  cvc?: string;
1446
1443
  encrypted_card_number?: string;
1447
1444
  exp_month?: number;
@@ -1462,21 +1459,25 @@ interface components {
1462
1459
  avs_check?: string;
1463
1460
  avs_check_message?: string | null;
1464
1461
  brand?: string;
1465
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1466
- card_holder_name?: string;
1462
+ /** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1463
+ card_holder_name?: string | null;
1467
1464
  cvc_check?: string;
1468
1465
  cvc_check_message?: string | null;
1469
1466
  exp_month?: number;
1470
1467
  exp_year?: number;
1471
- /** @enum {string|null} */
1472
- failure_reason?: "authorization_failed" | "avs_blocked" | "brand_not_allowed" | "brand_not_found" | "cvc_blocked" | "processing_error" | "vault_failed" | null;
1473
1468
  first6?: string;
1474
1469
  funding?: string | null;
1475
1470
  fingerprint?: string | null;
1476
1471
  last4?: string;
1477
1472
  state?: string;
1478
1473
  three_d_secure_supported?: boolean | null;
1474
+ /** @description Legacy card token. Prefer vault_token for new integrations. */
1479
1475
  token?: string;
1476
+ /**
1477
+ * Format: uuid
1478
+ * @description Vault UUID for this card. Used for charges and Vault callbacks.
1479
+ */
1480
+ vault_token?: string;
1480
1481
  wallet_provider?: components["schemas"]["WalletProviderType"];
1481
1482
  /** Format: date-time */
1482
1483
  card_updated_at?: string;
@@ -2366,44 +2367,6 @@ interface components {
2366
2367
  /** Format: date-time */
2367
2368
  updated_at?: string;
2368
2369
  };
2369
- CreatePaymentMethodInput: {
2370
- /** Format: uuid */
2371
- customer_id?: string;
2372
- metadata?: components["schemas"]["Metadata"];
2373
- billing_address_attributes?: components["schemas"]["BillingAddressInput"];
2374
- card_profile_attributes?: {
2375
- brand?: string;
2376
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
2377
- card_holder_name?: string;
2378
- cvc?: string;
2379
- encrypted_card_number?: string;
2380
- exp_month?: number;
2381
- exp_year?: number;
2382
- first6?: string;
2383
- last4?: string;
2384
- pan_type?: string;
2385
- token?: string;
2386
- wallet_payload?: string;
2387
- wallet_provider?: components["schemas"]["WalletProviderType"];
2388
- };
2389
- bank_account_profile_attributes?: {
2390
- last4?: string;
2391
- /** @description Account holder name. Letters, spaces, hyphens, apostrophes, and periods only. */
2392
- account_holder_name?: string;
2393
- account_holder_type?: string;
2394
- account_type?: string;
2395
- bank_name?: string;
2396
- currency?: string;
2397
- /** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
2398
- account_number?: string;
2399
- token?: string;
2400
- /** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
2401
- routing_number?: string;
2402
- };
2403
- };
2404
- CreatePaymentMethodRequest: {
2405
- payment_method: components["schemas"]["CreatePaymentMethodInput"];
2406
- };
2407
2370
  UpdateMerchantInput: {
2408
2371
  active?: boolean;
2409
2372
  business_category?: components["schemas"]["MerchantBusinessCategoryType"];
@@ -4785,39 +4748,6 @@ interface operations {
4785
4748
  };
4786
4749
  };
4787
4750
  };
4788
- CreatePaymentMethod: {
4789
- parameters: {
4790
- query?: never;
4791
- header?: never;
4792
- path?: never;
4793
- cookie?: never;
4794
- };
4795
- requestBody: {
4796
- content: {
4797
- "application/json": components["schemas"]["CreatePaymentMethodRequest"];
4798
- };
4799
- };
4800
- responses: {
4801
- /** @description Payment method created successfully */
4802
- 201: {
4803
- headers: {
4804
- [name: string]: unknown;
4805
- };
4806
- content: {
4807
- "application/json": components["schemas"]["PaymentMethod"];
4808
- };
4809
- };
4810
- /** @description Unprocessable entity */
4811
- 422: {
4812
- headers: {
4813
- [name: string]: unknown;
4814
- };
4815
- content: {
4816
- "application/json": components["schemas"]["Error"];
4817
- };
4818
- };
4819
- };
4820
- };
4821
4751
  GetPaymentMethod: {
4822
4752
  parameters: {
4823
4753
  query?: never;
@@ -6180,8 +6110,6 @@ type ReadonlyArray<T> = [
6180
6110
  ] extends [
6181
6111
  unknown[]
6182
6112
  ] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
6183
- declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["BankAccountProfile"]["failure_reason"]>;
6184
- declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
6185
6113
  declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
6186
6114
  declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
6187
6115
  declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
@@ -6264,4 +6192,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
6264
6192
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
6265
6193
  type PayApiClient = ReturnType<typeof createPayApiClient>;
6266
6194
 
6267
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
6195
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.d.ts CHANGED
@@ -718,8 +718,7 @@ interface paths {
718
718
  */
719
719
  get: operations["ListPaymentMethods"];
720
720
  put?: never;
721
- /** Create a payment method */
722
- post: operations["CreatePaymentMethod"];
721
+ post?: never;
723
722
  delete?: never;
724
723
  options?: never;
725
724
  head?: never;
@@ -1376,8 +1375,6 @@ interface components {
1376
1375
  account_holder_type?: string;
1377
1376
  account_type?: string;
1378
1377
  bank_name?: string;
1379
- /** @enum {string|null} */
1380
- failure_reason?: "activation_failed" | "processing_error" | "vault_failed" | "insufficient_funds" | "verification_failed" | null;
1381
1378
  fingerprint?: string | null;
1382
1379
  last4?: string;
1383
1380
  /** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
@@ -1440,8 +1437,8 @@ interface components {
1440
1437
  updated_at?: string;
1441
1438
  };
1442
1439
  CardProfileInput: {
1443
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1444
- card_holder_name?: string;
1440
+ /** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1441
+ card_holder_name?: string | null;
1445
1442
  cvc?: string;
1446
1443
  encrypted_card_number?: string;
1447
1444
  exp_month?: number;
@@ -1462,21 +1459,25 @@ interface components {
1462
1459
  avs_check?: string;
1463
1460
  avs_check_message?: string | null;
1464
1461
  brand?: string;
1465
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1466
- card_holder_name?: string;
1462
+ /** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
1463
+ card_holder_name?: string | null;
1467
1464
  cvc_check?: string;
1468
1465
  cvc_check_message?: string | null;
1469
1466
  exp_month?: number;
1470
1467
  exp_year?: number;
1471
- /** @enum {string|null} */
1472
- failure_reason?: "authorization_failed" | "avs_blocked" | "brand_not_allowed" | "brand_not_found" | "cvc_blocked" | "processing_error" | "vault_failed" | null;
1473
1468
  first6?: string;
1474
1469
  funding?: string | null;
1475
1470
  fingerprint?: string | null;
1476
1471
  last4?: string;
1477
1472
  state?: string;
1478
1473
  three_d_secure_supported?: boolean | null;
1474
+ /** @description Legacy card token. Prefer vault_token for new integrations. */
1479
1475
  token?: string;
1476
+ /**
1477
+ * Format: uuid
1478
+ * @description Vault UUID for this card. Used for charges and Vault callbacks.
1479
+ */
1480
+ vault_token?: string;
1480
1481
  wallet_provider?: components["schemas"]["WalletProviderType"];
1481
1482
  /** Format: date-time */
1482
1483
  card_updated_at?: string;
@@ -2366,44 +2367,6 @@ interface components {
2366
2367
  /** Format: date-time */
2367
2368
  updated_at?: string;
2368
2369
  };
2369
- CreatePaymentMethodInput: {
2370
- /** Format: uuid */
2371
- customer_id?: string;
2372
- metadata?: components["schemas"]["Metadata"];
2373
- billing_address_attributes?: components["schemas"]["BillingAddressInput"];
2374
- card_profile_attributes?: {
2375
- brand?: string;
2376
- /** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
2377
- card_holder_name?: string;
2378
- cvc?: string;
2379
- encrypted_card_number?: string;
2380
- exp_month?: number;
2381
- exp_year?: number;
2382
- first6?: string;
2383
- last4?: string;
2384
- pan_type?: string;
2385
- token?: string;
2386
- wallet_payload?: string;
2387
- wallet_provider?: components["schemas"]["WalletProviderType"];
2388
- };
2389
- bank_account_profile_attributes?: {
2390
- last4?: string;
2391
- /** @description Account holder name. Letters, spaces, hyphens, apostrophes, and periods only. */
2392
- account_holder_name?: string;
2393
- account_holder_type?: string;
2394
- account_type?: string;
2395
- bank_name?: string;
2396
- currency?: string;
2397
- /** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
2398
- account_number?: string;
2399
- token?: string;
2400
- /** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
2401
- routing_number?: string;
2402
- };
2403
- };
2404
- CreatePaymentMethodRequest: {
2405
- payment_method: components["schemas"]["CreatePaymentMethodInput"];
2406
- };
2407
2370
  UpdateMerchantInput: {
2408
2371
  active?: boolean;
2409
2372
  business_category?: components["schemas"]["MerchantBusinessCategoryType"];
@@ -4785,39 +4748,6 @@ interface operations {
4785
4748
  };
4786
4749
  };
4787
4750
  };
4788
- CreatePaymentMethod: {
4789
- parameters: {
4790
- query?: never;
4791
- header?: never;
4792
- path?: never;
4793
- cookie?: never;
4794
- };
4795
- requestBody: {
4796
- content: {
4797
- "application/json": components["schemas"]["CreatePaymentMethodRequest"];
4798
- };
4799
- };
4800
- responses: {
4801
- /** @description Payment method created successfully */
4802
- 201: {
4803
- headers: {
4804
- [name: string]: unknown;
4805
- };
4806
- content: {
4807
- "application/json": components["schemas"]["PaymentMethod"];
4808
- };
4809
- };
4810
- /** @description Unprocessable entity */
4811
- 422: {
4812
- headers: {
4813
- [name: string]: unknown;
4814
- };
4815
- content: {
4816
- "application/json": components["schemas"]["Error"];
4817
- };
4818
- };
4819
- };
4820
- };
4821
4751
  GetPaymentMethod: {
4822
4752
  parameters: {
4823
4753
  query?: never;
@@ -6180,8 +6110,6 @@ type ReadonlyArray<T> = [
6180
6110
  ] extends [
6181
6111
  unknown[]
6182
6112
  ] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
6183
- declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["BankAccountProfile"]["failure_reason"]>;
6184
- declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
6185
6113
  declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
6186
6114
  declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
6187
6115
  declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
@@ -6264,4 +6192,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
6264
6192
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
6265
6193
  type PayApiClient = ReturnType<typeof createPayApiClient>;
6266
6194
 
6267
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
6195
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.js CHANGED
@@ -41,8 +41,6 @@ __export(index_exports, {
41
41
  allowedCardPaymentMethodTypeValues: () => allowedCardPaymentMethodTypeValues,
42
42
  allowedGooglePayPaymentMethodInputTypeValues: () => allowedGooglePayPaymentMethodInputTypeValues,
43
43
  allowedGooglePayPaymentMethodTypeValues: () => allowedGooglePayPaymentMethodTypeValues,
44
- bankAccountProfileFailure_reasonValues: () => bankAccountProfileFailure_reasonValues,
45
- cardProfileFailure_reasonValues: () => cardProfileFailure_reasonValues,
46
44
  chargeAllowed_reverse_actionValues: () => chargeAllowed_reverse_actionValues,
47
45
  chargeStateValues: () => chargeStateValues,
48
46
  createPayApiClient: () => createPayApiClient,
@@ -83,8 +81,6 @@ module.exports = __toCommonJS(index_exports);
83
81
  var import_openapi_fetch = __toESM(require("openapi-fetch"));
84
82
 
85
83
  // openapi/schema.ts
86
- var bankAccountProfileFailure_reasonValues = ["activation_failed", "processing_error", "vault_failed", "insufficient_funds", "verification_failed"];
87
- var cardProfileFailure_reasonValues = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
88
84
  var chargeAllowed_reverse_actionValues = ["void", "refund"];
89
85
  var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
90
86
  var externalAccountTypeValues = ["external_card", "external_bank_account"];
@@ -148,8 +144,6 @@ function createPayApiClient(options) {
148
144
  allowedCardPaymentMethodTypeValues,
149
145
  allowedGooglePayPaymentMethodInputTypeValues,
150
146
  allowedGooglePayPaymentMethodTypeValues,
151
- bankAccountProfileFailure_reasonValues,
152
- cardProfileFailure_reasonValues,
153
147
  chargeAllowed_reverse_actionValues,
154
148
  chargeStateValues,
155
149
  createPayApiClient,