Approve Payment Request
/payment-request/{id}/approve endpoint approves a specific payment request.
Method:PATCH
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the payment request |
| Parameter | Type | Description |
|---|---|---|
| title (Optional) | string | Title for the payment (defaults to “Payment for [original request title]“) |
| transactionDate (Optional) | string | Transaction date (defaults to current date) |
| currency (Optional) | string | Currency code (defaults to request currency) |
| amount (Optional) | number | Payment amount (defaults to request amount) |
| amountUSD (Optional) | number | Payment amount in USD (defaults to request amountUSD) |
| conversionRate (Optional) | number | Conversion rate if different from default |
| memo (Optional) | string | Additional notes about the payment |
| method (Optional) | string | Payment method (only ‘vertofx’ requires additional fields) |
| walletId (Optional) | string | Required if method is ‘vertofx’ - Wallet ID for VertoFX |
| purposeCode (Optional) | string | Required if method is ‘vertofx’ - Purpose code for VertoFX |
| files (Optional) | array | Optional receipt or supporting documents (multipart/form-data) |
multipart/form-data content type. PDF receipt is automatically generated upon approval.
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment Request ID
Title for the payment (defaults to "Payment for [original request title]")
Transaction date (defaults to current date)
Currency code (defaults to request currency)
Payment amount (defaults to request amount)
Payment amount in USD (defaults to request amountUSD)
Conversion rate if different from default
Additional notes about the payment
Payment method (only 'vertofx' requires additional fields)
vertofx Required if method is 'vertofx' - Wallet ID for VertoFX
Required if method is 'vertofx' - Purpose code for VertoFX
Receipt files (PDF, images, etc.)