Update Payment
Payments
Update Payment
Update Payment
PUT
Update Payment
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Update Payment Description: The/payment/{id} endpoint updates a specific payment.
Method:
PUT
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the payment |
| Field | Type | Required | Description |
|---|---|---|---|
| user (Optional) | string | No | TenantUserId associated with the payment |
| title (Optional) | string | No | Title/description of the payment |
| transactionDate (Optional) | string | No | Date and time of the transaction |
| currency (Optional) | string | No | Currency code (e.g., USD, NGN) |
| amount (Optional) | number | No | Amount in the specified currency |
| amountUSD (Optional) | number | No | Amount converted to USD |
| conversionRate (Optional) | number | No | Exchange rate used for conversion |
| memo (Optional) | string | No | Additional notes about the payment |
| files (Optional) | array | No | Array of file names associated with the payment |
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Payment ID
Body
application/json
TenantUserId associated with the payment
Title/description of the payment
Date and time of the transaction
Currency code
Amount in the specified currency
Amount converted to USD
Exchange rate used for conversion
Optional memo