PaymentsApi - object-oriented interface export PaymentsApi

Hierarchy (view full)

Constructors

Properties

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

Methods

  • summary Cancel a payment

    Parameters

    • OptionalpaymentCancelDeets: PaymentCancelDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Payment, any>>

    memberof PaymentsApi

  • summary Test method for invoice payment intent generation

    Parameters

    • OptionalpaymentIntentRequestDeets: PaymentIntentRequestDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof PaymentsApi

  • summary Retrieve a list of payments

    Parameters

    • OptionalorchestrationId: string

      The id of the payment cycle for which to list the payments

    • OptionalpaymentSource: string
    • OptionalpaymentSourceId: string
    • OptionalpaymentAcceptStatus: AcceptPaymentStatusEnum

      pending accepted suspended

    • 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<PaymentListResponse, any>>

    memberof PaymentsApi

  • Returns a true/false for any payment or contact if found summary Retrieve if has any payment or contact

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<boolean, any>>

    memberof PaymentsApi

  • Updates a Payment

    summary Update a Payment Details

    Parameters

    • id: string
    • OptionalpaymentDetailsUpdateDeets: PaymentDetailsUpdateDeets

      PaymentDetails_UpdateDeets

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Payment, any>>

    memberof PaymentsApi

  • Returns a single payment if found summary Retrieve a payment by ID

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionaluserId: string

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

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Payment, any>>

    memberof PaymentsApi

  • summary Search payments (e.g. between dates, amounts, etc.)

    Parameters

    • OptionalminAmount: number

      The minimum amount for filtering

    • OptionalmaxAmount: number

      The maximum amount for filtering

    • OptionalfromDate: string

      The starting date for filtering

    • OptionaltoDate: string

      The end date for filtering

    • Optionalstatuses: string[]

      A list of statuses for filtering

    • OptionalpaymentTypes: string[]

      A list of payment types for filtering

    • Optionalid: string
    • OptionalshortId: string
    • OptionaltoHandle: string

      The Mozaic handle for a contact

    • OptionaltoEmail: string

      The email address of the contact

    • OptionaltoPhone: string

      The fully qualified phone number of the contact

    • OptionaltoName: string

      Loosely, the name of the contact. May be changed during registration

    • OptionaltoPersonaId: string

      Specifies the persona associated with this contact record

    • OptionaltoUserId: string

      Specifies the user associated with this contact record

    • OptionaltoUserAccountId: string

      Specifies the user account id associated with this contact record

    • OptionaltoId: string
    • OptionaltoCreated: string
    • OptionaltoShortId: string
    • OptionaltoObjectName: string

      The name of this object

    • 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<PaymentListResponse, any>>

    memberof PaymentsApi

  • summary List aggregated Pending or Suspended payments

    Parameters

    • Optionalstatus: AcceptPaymentStatusEnum

      pending accepted suspended

    • 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<PersonaPendingPaymentsResponseListResponse, any>>

    memberof PaymentsApi

  • summary List Transaction Statuses

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<string[], any>>

    memberof PaymentsApi

  • summary Accept or Suspend payments from an account.

    Parameters

    • OptionalpaymentAcceptDeets: PaymentAcceptDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Payment, any>>

    memberof PaymentsApi