Skip to main content
POST
Creates a payment order through the ByBit integration for USDT to PYUSD conversion. The payment flow supports QR code and e-commerce payment types with automatic settlement to a specified wallet address. Conditional Field Rules:
  • Either order_info.order_amount or order_info.quote_id must be provided, but not both.
  • When order_info.quote_id is not provided, order_info.order_amount and the fin object are required.
  • When order_info.quote_id is provided, order_info.order_amount and the fin object must not be included.
  • Providing both results in a 422 error.
Provider Error Codes: The 428 response code is a placeholder. When errors occur from the payment provider (ByBit), the original status code will be forwarded.

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain token from Issue a Token endpoint

Body

application/json
integration_type
enum<string>
required

Integration provider type.

Available options:
BYBIT,
PASS_THROUGH,
KRAKEN,
OKX
Example:

"BYBIT"

order_info
object
required
fin
object

Required when quote_id is not provided.

Response

Payment created successfully

data
object