Skip to main content
PATCH
/
v0
/
fees
/
{id}
Update
curl --request PATCH \
  --url https://api.paygentic.io/v0/fees/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "name": "<string>"
}
'
{
  "id": "fee_u3v4w5x6y7z8a9b0",
  "object": "fee",
  "createdAt": "2024-02-01T14:45:30Z",
  "description": "Updated yearly compliance fee",
  "merchantId": "org_c1d2e3f4g5h6i7j8",
  "name": "Compliance Update",
  "productId": "prod_k9l0m1n2o3p4q5r6",
  "updatedAt": "2024-03-15T11:30:00Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The unique identifier of the fee Unique identifier for a fee

Body

application/json
description
string

Revised explanation of what the fee represents.

name
string

Updated label for the fee.

Response

Fee updated successfully

id
string
object
enum<string>
default:fee
Available options:
fee
name
string
description
string
merchantId
string

Unique identifier for an organization

productId
string

Unique identifier for a product

createdAt
string<date-time>
updatedAt
string<date-time>