Skip to main content
POST

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Body

application/json
amount
number
required

Amount in the from currency to swap.

Example:

5000

from
enum<string>
required

Currency to swap from. Must differ from to.

Available options:
ngn,
ghs
Example:

"ngn"

to
enum<string>
required

Currency to swap into. Must differ from from.

Available options:
ngn,
ghs
Example:

"ghs"

pin
string
required

Transaction PIN.

Example:

"1234"

Response

Swap completed successfully