Package io.moov.sdk

Class CardIssuing

    • Method Detail

      • request

        public RequestCardRequestBuilder request()
        Request a virtual card be issued.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Returns:
        The call builder
      • request

        public RequestCardResponse request​(java.lang.String accountID,
                                           RequestCard requestCard)
                                    throws java.lang.Exception
        Request a virtual card be issued.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Parameters:
        accountID - The Moov business account for which the card is to be issued.
        requestCard -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • request

        public RequestCardResponse request​(java.util.Optional<java.lang.String> xMoovVersion,
                                           java.lang.String accountID,
                                           RequestCard requestCard)
                                    throws java.lang.Exception
        Request a virtual card be issued.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Specified by:
        request in interface SDKMethodInterfaces.MethodCallRequestCard
        Parameters:
        xMoovVersion - Specify an API version. API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024. The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
        accountID - The Moov business account for which the card is to be issued.
        requestCard -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • list

        public ListIssuedCardsRequestBuilder list()
        List Moov issued cards existing for the account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.

        Returns:
        The call builder
      • list

        public ListIssuedCardsResponse list​(ListIssuedCardsRequest request)
                                     throws java.lang.Exception
        List Moov issued cards existing for the account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.

        Specified by:
        list in interface SDKMethodInterfaces.MethodCallListIssuedCards
        Parameters:
        request - The request object containing all of the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • get

        public GetIssuedCardRequestBuilder get()
        Retrieve a single issued card associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.

        Returns:
        The call builder
      • get

        public GetIssuedCardResponse get​(java.lang.String accountID,
                                         java.lang.String issuedCardID)
                                  throws java.lang.Exception
        Retrieve a single issued card associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.

        Parameters:
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • get

        public GetIssuedCardResponse get​(java.util.Optional<java.lang.String> xMoovVersion,
                                         java.lang.String accountID,
                                         java.lang.String issuedCardID)
                                  throws java.lang.Exception
        Retrieve a single issued card associated with a Moov account.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.

        Specified by:
        get in interface SDKMethodInterfaces.MethodCallGetIssuedCard
        Parameters:
        xMoovVersion - Specify an API version. API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024. The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • update

        public UpdateIssuedCardRequestBuilder update()
        Update a Moov issued card.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Returns:
        The call builder
      • update

        public UpdateIssuedCardResponse update​(java.lang.String accountID,
                                               java.lang.String issuedCardID,
                                               UpdateIssuedCard updateIssuedCard)
                                        throws java.lang.Exception
        Update a Moov issued card.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Parameters:
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        updateIssuedCard -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • update

        public UpdateIssuedCardResponse update​(java.util.Optional<java.lang.String> xMoovVersion,
                                               java.lang.String accountID,
                                               java.lang.String issuedCardID,
                                               UpdateIssuedCard updateIssuedCard)
                                        throws java.lang.Exception
        Update a Moov issued card.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.

        Specified by:
        update in interface SDKMethodInterfaces.MethodCallUpdateIssuedCard
        Parameters:
        xMoovVersion - Specify an API version. API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024. The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        updateIssuedCard -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getFull

        public GetFullIssuedCardRequestBuilder getFull()
        Get issued card with PAN, CVV, and expiration.

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.

        Returns:
        The call builder
      • getFull

        public GetFullIssuedCardResponse getFull​(java.lang.String accountID,
                                                 java.lang.String issuedCardID)
                                          throws java.lang.Exception
        Get issued card with PAN, CVV, and expiration.

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.

        Parameters:
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getFull

        public GetFullIssuedCardResponse getFull​(java.util.Optional<java.lang.String> xMoovVersion,
                                                 java.lang.String accountID,
                                                 java.lang.String issuedCardID)
                                          throws java.lang.Exception
        Get issued card with PAN, CVV, and expiration.

        Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.

        To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.

        Specified by:
        getFull in interface SDKMethodInterfaces.MethodCallGetFullIssuedCard
        Parameters:
        xMoovVersion - Specify an API version. API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024. The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
        accountID - The Moov business account for which the card was issued.
        issuedCardID -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails