/v2/conversions/{id}/split_history

GET

Returns the history of executed conversion splits specified by a unique id {id}.

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

Required
NameInTypeDescription
X-Auth-Token header string Authentication token.
id path string Conversion UUID. The UUID is returned by a successful trade request when creating a conversion.
curl -X GET  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/conversions/{id}/split_history

Response

{
    "parent_conversion": null,
    "origin_conversion": null,
    "child_conversions": [
        {
            "id": "47d2f8a7-7121-40b3-866a-106c42abf4a4",
            "short_reference": "20210831-LZXWGN",
            "sell_amount": "35.51",
            "sell_currency": "GBP",
            "buy_amount": "50.00",
            "buy_currency": "USD",
            "settlement_date": "2021-09-03T15:30:00+00:00",
            "conversion_date": "2021-09-03T00:00:00+00:00",
            "status": "awaiting_funds"
        }
    ]
}
Error Codes
HTTP Status Code Description Params
400 id_is_not_valid_uuid id should be in UUID format
on_behalf_of_self You cannot act on behalf of your own Contact
contact_not_found Contact was not found for this id
401 invalid_supplied_credentials Authentication failed with the supplied credentials
403 permission_denied You do not have permission 'split_conversion' to perform this operation
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes
No