v1
latestOpenAPI 3.1.02026-07-24590534.0 KBRefresh Instant Swap Quotation
This endpoint is used to refresh an instant swap quotation.
post/users/{user_id}/swap_quotation/{quotation_id}/refresh
Path parameters
user_idstring required
The User ID. Use 'me' if fetching wallets of main authenticated user, use the user_id if fetching for Sub-account linked to the authenticated user
quotation_idstring required
ID of a swap quotation
Request body
Response
200
Example response
{
"status": "success",
"message": "Successful",
"data": {
"id": "jfdja5nm",
"from_currency": "NGN",
"to_currency": "SOL",
"quoted_price": "258578.803258812875",
"quoted_currency": "NGN",
"from_amount": "100.0",
"to_amount": "0.000386",
"expires_at": "2024-05-18T09:03:17.000Z",
"created_at": "2024-05-18T09:00:59.000Z",
"updated_at": "2024-05-18T09:03:02.000Z",
"user": {
"id": "23azi7bj",
"sn": "QDXXIRPXXKS",
"email": "johnsonoye123@gmail.com",
"first_name": "Oye",
"last_name": "Olalekan",
"display_name": "appstate",
"created_at": "2021-04-09T09:48:14.000Z",
"updated_at": "2024-03-12T10:34:34.000Z"
}
}
}