OxaPay icon

OxaPay

OxaPay Crypto Payment gateway

Swap → Generate a Swap Request

AI-generated

Summary

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.

Links

Discussion