LogoLogo
  • Platform Overview
  • 🗺️Guides
    • Getting Started
    • Users
      • Integrate the User SDK
      • Registration
      • Authentication
      • SDK Releases
      • API Reference
    • Entitlements
      • Administrative API
        • Integrating the Administrative API
        • Entitlement Definitions
        • Managing Entitlements Sets
        • Managing Entitlements Sequences
        • Managing User Entitlements
        • API Schema
      • End-user API
        • Integrate the Entitlements SDK
        • Redeeming Entitlements
        • Retrieving Entitlements
        • SDK Releases
        • API Reference
    • Sudos
      • Integrate the Sudo Profiles SDK
      • Sudo Entitlements
      • Manage Sudos
      • SDK Releases
      • API Reference
    • Telephony
      • Integrate the Telephony SDK
      • Manage Phone Numbers
      • Text Messaging
      • Voice Calling
      • Telephony Simulator
      • SDK Releases
      • API Reference
    • Email
      • Integrate the Email SDK
      • Email Entitlements
      • Manage Email Addresses
      • Sending & Receiving Email
      • Manage Email Folders
      • Draft Email Messages
      • Manage Email Address Blocklists
      • Email Address Public Information
      • Pagination
      • Caching
      • Configuration Data
      • Email Notifications
      • SDK Releases
      • API Reference
    • Decentralized Identity
      • Edge Agent
        • Relay SDK
          • Integrate the Relay SDK
          • Relay Entitlements
          • Manage Relay Postboxes
          • Manage Relay Messages
          • Receiving Messages
          • SDK Releases
        • Edge Agent SDK
          • Integrate the Edge Agent SDK
          • Agent Management
          • Manage Wallets
          • Establishing Connections
          • Manage Connections
          • Messaging
          • Manage DIDs
          • Accepting New Credentials
          • Manage Credentials
          • Present Credentials for Verification
          • Utilize Alternative Cryptography Providers
          • SDK Releases
          • Standards and Protocols
      • Cloud Agent
        • Cloud Agent Admin API
          • Integrate the Cloud Agent Admin API
          • Aries Interop Profile (AIP)
            • Connection Exchanges
            • Credential Exchanges
            • Proof Exchanges
          • Connections
          • Basic Messages
          • Credentials
            • Anoncreds Credentials
              • Schemas
              • Credential Definitions
            • W3C Credentials
          • Audit Logs
          • API Schema
          • Error Codes
          • Standards and Protocols
    • Virtual Cards
      • Integrate the Virtual Cards SDK
      • Virtual Cards Entitlements
      • Virtual Cards Transaction Velocity Constraints
      • Key Management
      • Manage Funding Sources
      • Manage Virtual Cards
      • Manage Transactions
      • Configuration Data
      • Pagination
      • Caching
      • SDK Releases
      • API Reference
    • Virtual Cards Simulator
      • Integrate the Virtual Cards Simulator SDK
      • Simulate Authorizations
      • Simulate Debits
      • Simulate Refunds
      • Simulate Reversals
      • Merchants and Currencies
      • SDK Releases
      • API Reference
    • Virtual Private Network
      • Integrate the VPN SDK
      • VPN Entitlements
      • Manage Servers
      • Manage Connection
      • Observe VPN Related Events
      • SDK Releases
      • API Reference
      • Frequently Asked Questions
    • Secure ID Verification
      • Integrate the Secure ID Verification SDK
      • List Supported Countries
      • Verify an Identity
      • Check Secure ID Verification Status
      • Use the Secure ID Verification Simulator
      • SDK Releases
      • API Reference
    • Password Manager
      • Integrate the Password Manager SDK
      • Accessing the Password Manager
      • Managing Password Vaults
      • Managing Password Vault Items
      • Vault Import and Export
      • Password Utilities
      • Password Manager Entitlements
      • Password Vault Security
      • SDK Releases
      • API Reference
    • Ad/Tracker Blocker
      • Integrate the Ad/Tracker Blocker SDK
      • Manage Rulesets
      • Blocking Ads and Trackers
      • Manage Exceptions
      • SDK Releases
      • API Reference
    • Site Reputation
      • Integrate the Site Reputation SDK
      • Use the Site Reputation SDK
      • SDK Releases
      • API Reference
  • 💡Concepts
    • Sudo Digital Identities
  • 🧱Development
    • Versioning
  • 🏢Administration
    • Admin Console Roles
  • ❓Get Help
    • Request a Demo
    • Report an Issue
Powered by GitBook
On this page
  1. Guides
  2. Virtual Cards

Configuration Data

Allow your users to obtain configuration details that include the various velocities that apply to funding sources, virtual cards and transactions.

Get Configuration Data

A call to getVirtualCardsConfig returns virtual cards configuration data. This includes data such as transaction velocity, maximum transaction amounts, card creation velocity, funding source creation / error velocity, funding source support information and supported virtual card currencies.

Velocity string values are represented in the format of amount/period, where period is an ISO8601 period. For example, a maxCardCreationVelocity of 10 cards per hour, would be represented as 10/PT1H.

try {
    const configurationData = await virtualCardsClient.getVirtualCardsConfig()
    // `configurationData` constains details such as transaction velocity,
    // maximum transaction amounts, card creation velocity, funding source creation / error velocity,
    // funding source support information and supported virtual card currencies.
} catch {
    // Handle/notify user of errors
}
do {
    let configurationData = try await virtualCardsClient.getVirtualCardsConfig()
    // `configurationData` constains details such as transaction velocity,
    // maximum transaction amounts, card creation velocity, funding source creation / error velocity,
    // funding source support information and supported virtual card currencies.
} catch {
    // Handle/notify user of errors
}
launch {
  try {
    val configurationData = withContext(Dispatchers.IO) {
      virtualCardsClient.getVirtualCardsConfig()
    }
    // `configurationData` constains details such as transaction velocity,
    // maximum transaction amounts, card creation velocity, funding source creation / error velocity,
    // funding source support information and supported virtual card currencies.
  } catch(e: VirtualCardException) {
    // Handle/notify user of errors
  }
}

VirtualCardsConfig field definitions

Velocities controls specify the maximum rate at which certain operations can be performed by a user. They consist of an amount and a time period. The amount is specified as a number and the time period is specified as an ISO8601 time period. Velocities are expressed in the format <amount>/<time-period>. Velocity configuration may be specified as a list of velocities all of which are applied to an operation. For example a velocity list of ['5/P1D', '10/P28D'] constrains an operations to be performed no more than either 5 times per day or 10 times per 28 days.

maxFundingSourceVelocity - List of velocities specifying the maximum number of funding sources allowed to be created during a specified period for a user.

maxFundingSourceFailureVelocity - List of velocities specifying the maximum number of funding source creation failures allowed during a specific period for a user.

maxCardCreationVelocity - List of velocities specifying the maximum number of virtual cards allowed to be created during a specified period for a user.

maxTransactionVelocity - List of velocities specifying the maximum aggregate value of virtual card transactions (not including fees) allowed during a specified period for a user and specified per virtual card denomination currency. Amounts are specified in the currency minor unit (for example cents for USD). Only currencies supported in a given deployment are returned. For example:

[
  { currency: 'USD', velocity: ['25000/P1D'] },
  { currency: 'EUR', velocity: ['20000/P1D'] }
]

maxTransactionAmount - The maximum value of any single virtual cards transaction (not including fees) allowed. Amounts are specified in the currency minor unit (for example cents for USD). Specified per virtual card denomination currency. Only currencies supported in a given deployment are returned. For example:

[
  { currency: 'USD', amount: 25000 },
  { currency: 'EUR', amount: 20000 }
]

virtualCardCurrencies - A list of currencies in which virtual cards may be denominated. For example, ['USD', 'EUR']

fundingSourceSupportInfo - Various details about the supported funding sources. For card based funding sources, this includes card type and network.

bankAccountFundingSourceExpendableEnabled - Boolean property indicating whether or not the sudoplatform.virtual-cards.bankAccountFundingSourceExpendable expendable entitlement is required in order to provision a bank account funding source.

bankAccountFundingSourceCreationEnabled - Boolean property indicating whether or not bank account funding sources are permitted for this client.

PreviousManage TransactionsNextPagination

Last updated 28 days ago

🗺️