For the complete documentation index, see llms.txt. This page is also available as Markdown.

Download Rate Card (Excel)

Download one of your rate cards as an Excel workbook.

/rate-cards/mine/:rate_card_id/download/excel

GET https://api.terminal.africa/v1/rate-cards/mine/:rate_card_id/download/excel

This endpoint returns the same price table as Get My Rate Card as an .xlsx workbook — one sheet per direction, with a weight column and one column per zone.

Path Parameters

Name
Type
Description

rate_card_id*

String

Unique rate_card_id of the card.

Headers

Name
Type
Description

Authorization*

String

Set value to Bearer SECRET_KEY

Response

On success the response is the file itself, not a JSON envelope:

Response header
Value

Content-Type

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Content-Disposition

attachment; filename="<card name>_<currency>.xlsx"

Each row is a weight band, labelled by the band's upper bound. An empty cell means the card has no price for that band and zone.

{
    "status": false,
    "message": "This rate card is not currently assigned to your account",
    "data": null
}
{
    "status": false,
    "message": "Rate card not found",
    "data": null
}

Was this helpful?