Create Payment
Documentation Index
Fetch the complete documentation index at: https://apidocs.royalti.io/llms.txt
Use this file to discover all available pages before exploring further.
/payment/ endpoint allows creation of payment records with transaction details, currency information, and associated files.
Method:
POST
Request Payload:
| Parameter | Type | Description |
|---|---|---|
| user | string | User ID associated with the payment |
| title | string | Title/description of the payment |
| transactionDate | string | Date and time of the transaction |
| currency | string | Currency code (e.g., USD, NGN) |
| amount | number | Amount in the specified currency |
| amountUSD | number | Amount converted to USD |
| conversionRate | number | Exchange rate used for conversion |
| memo | string | Additional notes about the payment |
| files | array | File uploads (multipart/form-data) |
| id | string | Optional custom ID for the payment record |
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
TenantUserId associated with the payment
Title/description of the payment
Date and time of the transaction
Currency code (e.g., USD, NGN)
Amount in the specified currency
Amount converted to USD
Exchange rate used for conversion
Additional notes about the payment
File attachments (receipts, invoices, etc.)
Optional custom ID for the payment record