v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Credits

Get a credit record

Get information about a specific credit transaction.

Returns the full detail of a single credit record, including its amount, credit type, currency, associated customer and partner, creation timestamp, and note.

To query all credits for a customer, use GET /credits. To see the full history of operations on a customer's credits, use GET /credit-history.

get/credits/{credit_id}

Path parameters

credit_idstring required

The unique ID of the credit record.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Response

OK

Example response

{
  "data": {
    "credit_id": "8bed991c68a470e7aaeffbf048",
    "customer_id": "8ea2591121e636086a4a9c0992",
    "assigned_credits": 1000,
    "available_credits": 1000,
    "credit_type_id": "86e05affc7a7abefcd513ab400",
    "partner_id": "86e05affc7a7abefcd513ab400",
    "valid_to": "2027-12-12 00:00:00",
    "currency_id": "86e05affc7a7abefcd513ab400",
    "state": 1
  }
}