Skip to main content

Get a billing cycle by code

GET 

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

Get a billing cycle by code

Request

Path Parameters

    code stringrequired

    Billing cycle code

Header Parameters

    x-api-key stringrequired

    Gateway API key

Responses

Billing cycle with user charges

Schema

    status numberrequired

    Response status code

    message stringrequired

    Response status message

    data

    object

    required

    Response data

    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

Loading...