Create Payment Request
Endpoint:/payment-request/
Method: POST
Request Body
Field | Type | Required | Description |
---|---|---|---|
PaymentSettingId | string | Yes | ID of the payment setting being used. |
currency | string | Yes | Currency code for the payment. |
amountUSD | number | Yes | Amount in USD. |
amount | number | Yes | Amount in the specified currency. |
memo | string | No | Optional memo describing the purpose of payment. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Example Request
Request Schema
Field | Type | Required | Description |
---|---|---|---|
PaymentSettingId | string | ✅ | ID of the payment setting being used |
currency | string | ✅ | Currency code for the payment |
amountUSD | number | ✅ | Amount in USD |
amount | number | ✅ | Amount in the specified currency |
memo | string | ❌ | Optional memo describing the purpose of payment |
Responses
✅ 201 - Success
⚠️ 400 - Bad Request
⚠️ 401 - Unauthorized
❌ 500 - Internal Server Error
Tags
Payment Requests
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json