Skip to main content

AddDigitalCardPayload

Payload returned on mutation completion

union AddDigitalCardPayload = AddDigitalCardSuccessPayload | CardNotFoundRejection | CardCanNotBeDigitalizedRejection | ApplePayNotAllowedForProjectRejection | BadAccountStatusRejection | AccountMembershipNotAllowedRejection | UserNotCardHolderRejection | CardProductDisabledRejection | EnabledCardDesignNotFoundRejection | MissingMandatoryFieldRejection | ValidationRejection

Possible types​

AddDigitalCardPayload.AddDigitalCardSuccessPayload object​

AddDigitalCardPayload.CardNotFoundRejection object​

Rejection returned if the card was not found or if the user does not have the rights to know that the account exists

AddDigitalCardPayload.CardCanNotBeDigitalizedRejection object​

Rejection returned if the card could not be digitalized

AddDigitalCardPayload.ApplePayNotAllowedForProjectRejection object​

Rejection returned if the project is not configured to allow Apple Pay

AddDigitalCardPayload.BadAccountStatusRejection object​

Rejection returned if the status account is not valid

AddDigitalCardPayload.AccountMembershipNotAllowedRejection object​

Rejection returned when the Account Membership is not allowed to use an operation.

AddDigitalCardPayload.UserNotCardHolderRejection object​

Rejection returned when the User is not the cardholder

AddDigitalCardPayload.CardProductDisabledRejection object​

Rejection returned if the card product is disabled.

AddDigitalCardPayload.EnabledCardDesignNotFoundRejection object​

Rejection returned if the card product don't have a card design enabled

AddDigitalCardPayload.MissingMandatoryFieldRejection object​

Rejection returned when mandatory fields are missing from the call.

AddDigitalCardPayload.ValidationRejection object​

Rejection returned if an input contains invalid data

Returned By​

addDigitalCard mutation