Skip to main content

Get proration policy

GET 

/subscriptions/proration-policies/:proration_policy_uuid

Get proration policy

Request

Path Parameters

    proration_policy_uuid UUIDrequired

    The unique identifier of a proration policy.

Responses

Success. The proration policy details are returned.

Schema
    data ProrationPolicy
    id UUID (string)

    The unique identifier.

    type ProrationPolicyType (string)required

    Possible values: [proration_policy]

    attributes ProrationPolicyAttributesrequired
    name stringrequired

    Possible values: >= 3 characters and <= 1024 characters

    A name for the proration policy.

    rounding stringrequired

    Possible values: [up, down, nearest]

    Whether to round up or down

    unit stringrequired

    Possible values: [day, month, year]

    The unit to apportion over

    behaviour stringrequired

    Possible values: [immediately, next_invoice]

    Behaviour for payment application

    external_ref ExternalRef (string)

    Possible values: <= 2048 characters

    A unique attribute that you could use to contain information from another company system, for example. The maximum length is 2048 characters.

    meta ProrationPolicyMetarequired
    owner stringrequired

    The owner of a resource, either store or organization.

    timestamps Timestampsrequired
    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

Loading...