v1
latestOpenAPI 3.1.02026-07-263644911022.4 KBCreate a fee schedule
Use this endpoint to create a new fee schedule. Fee schedules define the fee structure applied to transactions during reconciliation.
Headers
A unique identifier for tracing the request across services.
Optional idempotency key for safe retries. Also accepts Idempotency-Key as an alternative header name. If the same key is sent again and the original request was already processed, the cached response is returned with X-Idempotency-Replayed: true.
See Retries and idempotency for details.
Request body
Example request
{
"name": "Card Processing - Visa",
"currency": "USD",
"roundingScale": 2,
"items": [
{
"name": "interchange",
"priority": 1
}
]
}Response
Successfully created fee schedule.
The response includes the X-Idempotency-Replayed header.
If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.
See Retries and idempotency for more details.
Example response
{
"id": "019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b",
"tenantId": "019c96a0-0a98-7287-9a31-786e0809c769",
"name": "Card Processing - Visa",
"currency": "USD",
"roundingScale": 2,
"items": [
{
"id": "019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b",
"name": "interchange",
"priority": 1,
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
}
],
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
}