PaymentCyclesApi - object-oriented interface export PaymentCyclesApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • summary Create payment cycle details

    Parameters

    • OptionalpaymentCycleCreateDeets: PaymentCycleCreateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycle, any>>

    memberof PaymentCyclesApi

  • summary Create a payment entry for a payment cycle

    Parameters

    • id: string
    • OptionalpaymentCycleEntryCreateDeets: PaymentCycleEntryCreateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi

  • summary Delete a payment cycle and all associated payment cycle entries.

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<LogicResult, any>>

    memberof PaymentCyclesApi

  • summary Delete a payment entry for a payment cycle

    Parameters

    • id: string
    • entryId: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<LogicResult, any>>

    memberof PaymentCyclesApi

  • summary Finalize to generate and pay invoice

    Parameters

    • id: string
    • OptionalpaymentCycleFinalizeDeets: PaymentCycleFinalizeDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleResponse, any>>

    memberof PaymentCyclesApi

  • summary Retrieve payment cycle details by id

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleResponse, any>>

    memberof PaymentCyclesApi

  • summary Get payment entry by id

    Parameters

    • id: string
    • entryId: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi

  • summary Retrieve a list of payment entries for a cycles

    Parameters

    • id: string
    • Optionalstatus: TransactionStatusEnum

      Based on JammberMoney.dbo.TransactionStatuses draft pending posted processing sent accepted declined publicHold levied adjusted returned postedUnderThreshold paymentAssigned insufficentFunds offPlatform suspended payoutFailed awaitingPayout received payoutCompleted failed pendingBalance

    • Optionalname: string
    • Optionalemail: string
    • OptionalsortByFieldName: PaymentCycleEntrySortFields

      The field to sort by createdDate amountSent amountPaid status memo

    • OptionalsortByAscending: boolean

      Whether the list will be sorted in ascending order. Default value is true

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntryListResponse, any>>

    memberof PaymentCyclesApi

  • summary Retrieve a list of payments cycles

    Parameters

    • OptionalfeeDirection: FeeDirection

      Defines the direction in which fees are charged. default (Use the platform default fee direction which is to the Payee) payer (Fees are charged to the Payer) payee (Fees are charged to the Payee) split (Fees are split equally between Payer and Payee. Any remaineder is paid by the Payee)

    • Optionalstatus: PaymentCycleStatus

      draft locked processing invoicing cancelled completed partiallyCompleted failed

    • Optionalname: string
    • OptionalgreaterThanPaymentDate: string
    • OptionalsortByFieldName: PaymentCycleSortFields

      The field to sort by createdDate paymentDate recipientsCount amountSent amountPaid status memo

    • OptionalsortByAscending: boolean

      Whether the list will be sorted in ascending order. Default value is true

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleListResponse, any>>

    memberof PaymentCyclesApi

  • summary Retrieve a list of all related payments

    Parameters

    • id: string
    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleListResponse, any>>

    memberof PaymentCyclesApi

  • summary Get avatar of payment entry for a payment cycle

    Parameters

    • id: string
    • entryId: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof PaymentCyclesApi

  • summary Update a payment entry for a payment cycle

    Parameters

    • id: string
    • entryId: string
    • OptionalpaymentCycleEntryUpdateDeets: PaymentCycleEntryUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi