Exchange transfers
Complete exchange transfer
Updates the status of an exchange transfer to COMPLETED. Make this request once the exchange transfer has been made on both the ledger and on internal systems.
post/exchange_transfers/{id}/complete
Request
- Base URL//[domainPrefix].ripplexcurrent.com/v4 (relative, and it does not resolve against the document’s source URL)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Unique identifier of the exchange transfer to complete.
Response
Successfully completed exchange transfer.
Example response
{
"exchange_transfer_id": "e3b20ba4-28ed-4752-990d-e67887bb331e",
"state": "EXECUTED",
"type": "INDICATIVE",
"sender_address": "sf@rn.us.ca.san_francisco",
"receiver_address": "sf_gbp@rn.us.ca.san_francisco",
"source_amount": 1,
"destination_amount": 355,
"source_currency": "USD",
"destination_currency": "GBP",
"fx_transfer_rate": {
"rate": 0.89,
"base_currency": "USD",
"counter_currency": "GBP",
"rate_type": "BUY"
},
"user_info": [
{
"node_address": "rn.us.ny.new_york",
"state": "EXECUTED"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.