Post https://app.moneygraph.ai/api/v1/customer/swap/{customer}
Authorization* string
Pass your {api_key} as a bearer token in the request header to authorize this call
customer* string
Customer ID. The ID or MCP Key of the onboarded customer.
from_wallet* uuid
Debit Fiat Wallet ID/Crypto Wallet ID
to_wallet* uuid
Credit Fiat Wallet ID/Crypto Wallet ID
amount* numeric
Amount is lowest currency denomination
external_id* string max:36
Your platform transaction ID
{
"message": "Swap successful",
"status": "success",
"data": {
"id": "167660ba-c5d6-469e-859a-9d98a0ea72a2",
"amount": "2000.00",
"human_readable_amount": 20,
"charge": "0.00",
"human_readable_charge": "0.00",
"status": "onchain",
"decline_reason": null,
"mode": "live",
"type": "debit",
"description": "Swap ",
"external_id": null,
"created_at": "2025-03-26T10:16:40.000000Z",
"from_wallet": "EUR",
"to_wallet": "GBP",
"rate": 0.83167941248205,
"credit_id": "646e0d91-777f-418b-9d37-ee5835506c04"
}
}