Before creating a order

Fetch list of all supported currencies

curl --request GET \
     --url 'https://sandbox-api.transfi.com/v2/supported-currencies?direction=deposit' \
     --header 'accept: application/json' \
     --header 'authorization: Basic dHJhbnNmaV9xYTo='
{
  "status": "success",
  "total": 23,
  "pages": 5,
  "data": [
    {
      "currency": "AED",
      "logoUrl": "https://common-fiat-logos.s3.ap-southeast-1.amazonaws.com/aed.svg",
      "decimalPrecision": 2
    },
    {
      "currency": "ARS",
      "logoUrl": "https://common-fiat-logos.s3.ap-southeast-1.amazonaws.com/ars.svg",
      "decimalPrecision": 2
    },
    {
      "currency": "BDT",
      "logoUrl": "https://common-fiat-logos.s3.ap-southeast-1.amazonaws.com/bdt.svg",
      "decimalPrecision": 2
    },
    {
      "currency": "BRL",
      "logoUrl": "https://common-fiat-logos.s3.ap-southeast-1.amazonaws.com/brl.svg",
      "decimalPrecision": 2
    },
    {
      "currency": "CLP",
      "logoUrl": "https://common-fiat-logos.s3.ap-southeast-1.amazonaws.com/clp.svg",
      "decimalPrecision": 2
    }
  ]
}

Fetch payment methods based on currency

curl --request GET \
     --url 'https://sandbox-api.transfi.com/v2/payment-methods?currency=BRL&limit=10&page=1&direction=withdraw' \
     --header 'accept: application/json' \
     --header 'authorization: Basic dHJhbnNmaV9xYTo='
{
  "status": "success",
  "total": 1,
  "pages": 1,
  "paymentMethods": [
    {
      "paymentCode": "pix",
      "name": "Pix",
      "minAmount": 1,
      "maxAmount": 1000000,
      "logoUrl": "https://common-payment-methods-logo.s3.ap-southeast-1.amazonaws.com/pix_qr.svg",
      "paymentType": "bank_transfer"
    }
  ]
}