Skip to main content

AddCardInput

Inputs to add a new card

input AddCardInput {
accountMembershipId: ID!
cardContractExpiryDate: DateTime
withdrawal: Boolean!
international: Boolean!
nonMainCurrencyTransactions: Boolean!
eCommerce: Boolean!
consentRedirectUrl: String!
name: String
viewCardNumber: Boolean
cardProductId: ID
spendingLimit: SpendingLimitInput
}

Fields

AddCardInput.accountMembershipId ● ID! non-null scalar

Unique identifier of a given account membership

AddCardInput.cardContractExpiryDate ● DateTime scalar

Card expiration date if null it does not have an expiration date

AddCardInput.withdrawal ● Boolean! non-null scalar

true if this card allows cash withdrawals

AddCardInput.international ● Boolean! non-null scalar

true if this card allows payments outside of the country

AddCardInput.nonMainCurrencyTransactions ● Boolean! non-null scalar

true if this card allows transactions outside of the card's main currency

AddCardInput.eCommerce ● Boolean! non-null scalar

true if this card allows transactions at eCommerce sites

AddCardInput.consentRedirectUrl ● String! non-null scalar

URL the user is redirected to after consent has been given

AddCardInput.name ● String scalar

Card name

AddCardInput.viewCardNumber ● Boolean scalar

true to show the card confidential information in the same request

AddCardInput.cardProductId ● ID scalar

The id of the card product to use to create the new card.

AddCardInput.spendingLimit ● SpendingLimitInput input

Spending limit

Member Of

addCard mutation