Skip to main content

Get all billing cycles

GET 

/api/gateway/v1/settlement/billing-cycles

Get all billing cycles

Request

Query Parameters

    requestId string
    code string
    name string
    billingFrom date-time
    billingTo date-time
    status BillingCycleStatus

    Possible values: [INIT, IN_PROGRESS, CONFIRMED, SENT_TO_MONETA, FINALIZED, PENDING, CANCELLED]

    page[size] number

    Possible values: <= 50

    Default value: 25

    Number of items per page

    page[page] number

    Default value: 1

    Page number

    page[order] string

    Default value: DESC

    Order of the items

    page[key] string

    Key of the items

Header Parameters

    x-api-key stringrequired

    Gateway API key

Responses

List of billing cycles

Schema

    status numberrequired

    Response status code

    message stringrequired

    Response status message

    data

    object[]

    required

    Response data

  • Array [

  • code stringrequired

    Billing cycle code

    description string

    Description of the billing cycle

    billingFrom date-timerequired

    Start date of billing period

    billingTo date-timerequired

    End date of billing period

    status stringrequired

    Possible values: [INIT, IN_PROGRESS, FINALIZED, PENDING, CANCELLED]

    Status of the billing cycle

    totalAmount objectrequired

    Total amount of charges in this billing cycle

    totalPaid objectrequired

    Total amount paid in this billing cycle

    totalUnPaid objectrequired

    Total amount unpaid in this billing cycle

    createdAt date-time

    Creation date

  • ]

  • requestId string

    Request ID for tracking

    meta

    object

    Pagination details, if applicable

    page numberrequired

    Current page number

    perPage numberrequired

    Number of items per page

    count numberrequired

    Number of returned items

    totalCount numberrequired

    Total number of items

    totalPages numberrequired

    Total number of pages

    hasNextPage boolean

    Has next page

    hasPrevPage boolean

    Has previous page

Loading...