Actions27
- Payment Actions
- Payout Actions
- Swap Actions
- Common Actions
Swap → Generate a Swap Request
AI-generatedSummary
Submit a swap request to exchange a specified amount of one currency for another in your OxaPay account. Requires an OxaPay General API Key credential.
Inputs
- s_from_currency (required) — Required currency symbol of the asset to swap from.
- s_to_currency (required) — Required currency symbol of the asset to swap to.
- s_amount (required) — Required amount of the source currency to swap; the input supports eight decimal places.
Output shape
One JSON item containing the complete OxaPay API response for each input item.
The response is returned unchanged; its swap fields are not defined in the source. API failures raise an error, or return an error object when Continue On Fail is enabled.