crate::transaction::pricing::controller::openapi::partner_fee_routes

POST /v1/accounts/{account_id}/partner-fees

Changed on

Request

Path parameters

account_idstring required

Account ID (main or sub-account)

Request body

external_idstring required

Partner-supplied external_id request value (UUID) used to make a create request idempotent. Validated at the API boundary and stored on the resource as an external identifier.

Example request

{
  "fee": {
    "currency": "USD",
    "payment_rail": "US_FEDWIRE",
    "rate": "0.001",
    "fixed": "0.5"
  },
  "external_id": "550e8400-e29b-41d4-a716-446655440000"
}

Response

Partner fee created

fee_idstring required

Partner fee ID exposed by OpenAPI.

account_idstring required
created_atstring required

Fee creation timestamp (ISO 8601)

modified_atstring required

Last modification timestamp (ISO 8601)

Example response

{
  "fee_id": "e9ece207-8fd6-400e-872b-409701e57b74",
  "fee": {
    "currency": "USD",
    "payment_rail": "US_FEDWIRE",
    "rate": "0.001",
    "fixed": "0.5"
  },
  "created_at": "2026-06-11T08:30:00Z",
  "modified_at": "2026-06-11T08:30:00Z"
}

Changes

    • breaking

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the request property oneOf list

    • breaking

      added subschema #1 subschema #2 subschema #3 subschema #4 to the response property oneOf list for the response status

    • info

      api tag crate::transaction::pricing::controller::openapi::partner_fee_routes added

    • info

      api tag Pricing removed

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 to the request property oneOf list

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the response property oneOf list for the response status