Package io.moov.sdk

Class Receipts


  • public class Receipts
    extends java.lang.Object
    • Method Detail

      • create

        public CreateReceiptsRequestBuilder create()
        Create receipts for transfers and scheduled transfers.

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

        Returns:
        The call builder
      • create

        public CreateReceiptsResponse create​(java.util.List<ReceiptRequest> request)
                                      throws java.lang.Exception
        Create receipts for transfers and scheduled transfers.

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

        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • list

        public ListReceiptsRequestBuilder list()
        List receipts by transferID, scheduleID, or occurrenceID.

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

        Returns:
        The call builder
      • list

        public ListReceiptsResponse list​(java.lang.String id)
                                  throws java.lang.Exception
        List receipts by transferID, scheduleID, or occurrenceID.

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

        Parameters:
        id - The transfer, schedule, or transfer occurrence ID to filter receipts by.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails