Package io.moov.sdk

Class CardIssuing


  • public class CardIssuing
    extends java.lang.Object
    • 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
      • 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​(java.lang.String accountID)
                                     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.

        Parameters:
        accountID - The Moov business account for which the cards have been issued.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • list

        public ListIssuedCardsResponse list​(java.lang.String accountID,
                                            java.util.Optional<java.lang.Long> skip,
                                            java.util.Optional<java.lang.Long> count,
                                            java.util.Optional<? extends java.util.List<IssuedCardState>> states)
                                     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.

        Parameters:
        accountID - The Moov business account for which the cards have been issued.
        skip -
        count -
        states - Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
        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
      • 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
      • 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