exchange
Make a swap
exchange
- GETRetrieve a swap configuration
- DELDelete a swap configuration
- PATCHUpdate a swap configuration
- GETList standing orders
- POSTCreate a standing order
- GETGet order book
- POSTConvert an amount from one currency to another
- GETGet rate
- DELDelete a rate
- PATCHUpdate a rate
- PATCHRemove contact from a market maker
- GETList rates
- POSTCreate a rate
- GETList supported rates
- GETList market makers
- POSTCreate a market maker
- GETList swaps
- POSTMake a swap
- GETRetrieve an order
- GETList orders
- POSTCreate an order
- GETList swap configuration
- POSTCreate a swap configuration
- PUTCancel an order
- GETGet swap rate
- POSTIncrease order book liquidity
- GETList currencies
- GETFetch current market prices
- GETRetrieve list of orders created from a standing order
- GETRetrieve market maker details for current account
- GETRetrieve a market maker
- PATCHUpdate a market maker
- GETGet swap
- PATCHAdd contact to a market maker
- GETRetrieve a standing order
- DELDelete a standing order
- PATCHUpdate a standing order
payouts
- POSTRetry failed but retryable transfer
- DELDelete transfers
- POSTAdd transfers
- GETList bulk payouts
- POSTInitiate a bulk transfer
- POSTcancel bulk transfer
- GETGet payout details
- GETGenerate a payout receipt
- GETGet charge for a payout
- GETList payouts
- POSTInitiate a payout
- GETGet bulk payout details
- POSTExecute bulk transfer
payment-lifecycle
- POSTCancel a running payment session
- GETGet merchant profile
- PATCHUpdate merchant profile
- GETGet a payment link
- PATCHUpdate a payment link
- GETExport payment details
- POSTAuthorize a captured payment session
- GETGet encryption key
- GETGet payment stats
- POSTRetry the processing of a pending outgoing payment
- GETGet a hosted payment session
- GETList payment links
- POSTCreate a payment link
- GETGet a running payment session
- POSTCapture a payment session
- PATCHUpdate a pending payment session
- POSTInitiate a payment refund
- PATCHGet merchant profile
- GETGet payment details
- GETGet payment details
- POSTInitialize a payment session
exchange
Make a swap
POST
/
exchange
/
exchange
/
swap
{
"data": {
"correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
"created_at": "2021-01-01T00:00:00Z",
"customer": {
"email": "customer@email.com",
"id": "1",
"name": "User 1",
"type": "user"
},
"id": "7da8e726-a1bc-11ee-80cf-560f156a658b",
"provider": {
"email": "provider@email.com",
"id": "1",
"name": "Provider 1",
"type": "provider"
},
"source_amount": {
"amount": 1,
"currency": "USD"
},
"status": "success",
"symbol": "USD-NGN",
"target_amount": {
"amount": 1000,
"currency": "NGN"
},
"updated_at": "2021-01-01T00:00:00Z"
}
}
Body
application/json
Swap params
Swap params
Amount, in minor units
Source currency
Target currency
Response
200
application/json
Swap Details
Response schema for swap
Swap details
Correlation ID
Creation timestamp
Fee Amount
Fee Currency
Id
Source Amount
Source Currency
Available options:
pending
, success
, failed
Currency pair
Target Amount
Target Currency
Update timestamp
{
"data": {
"correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
"created_at": "2021-01-01T00:00:00Z",
"customer": {
"email": "customer@email.com",
"id": "1",
"name": "User 1",
"type": "user"
},
"id": "7da8e726-a1bc-11ee-80cf-560f156a658b",
"provider": {
"email": "provider@email.com",
"id": "1",
"name": "Provider 1",
"type": "provider"
},
"source_amount": {
"amount": 1,
"currency": "USD"
},
"status": "success",
"symbol": "USD-NGN",
"target_amount": {
"amount": 1000,
"currency": "NGN"
},
"updated_at": "2021-01-01T00:00:00Z"
}
}