post https://spectrocoin.com/api/public/merchants/orders//pay
This endpoint is used to pay for a merchant order using the order's unique Id
. The order id
can be retrieved in two ways: by fetching existing orders through GET /public/merchants/orders
, or upon creating a new order via POST /public/merchants/orders/create
. To complete the payment, the user needs to specify the accountId
from their SpectroCoin wallet, which corresponds to the currency in which the payment will be made. Users can retrieve the appropriate accountId
by using the GET /api/public/accounts
endpoint with the desired currencyCode
(e.g., 'SOL' for Solana payments).