POST
/
fx
/
exchange
curl -X POST https://api.swervpay.co/api/v1/fx/exchange \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "NGN",
    "to": "USD",
    "amount": 1
  }'
{
  "account_name": "<string>",
  "account_number": "<string>",
  "amount": 123,
  "bank_code": "<string>",
  "bank_name": "<string>",
  "category": "<string>",
  "charges": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "detail": "<string>",
  "fiat_rate": 123,
  "id": "<string>",
  "imad": "<string>",
  "payment_method": "<string>",
  "reference": "<string>",
  "report": true,
  "report_message": "<string>",
  "session_id": "<string>",
  "status": "<string>",
  "trace_number": "<string>",
  "type": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}
curl -X POST https://api.swervpay.co/api/v1/fx/exchange \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "NGN",
    "to": "USD",
    "amount": 1
  }'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
from
string
to
string

Response

200
application/json
OK
account_name
string
account_number
string
amount
number
bank_code
string
bank_name
string
category
string
charges
number
created_at
string
detail
string
fiat_rate
number
id
string
imad
string
payment_method
string
reference
string
report
boolean
report_message
string
session_id
string
status
string
trace_number
string
type
string
updated_at
string