--- http_interactions: - request: method: post uri: https://devapi.thecurrencycloud.com/v2/conversions/create body: encoding: UTF-8 string: buy_currency=GBP&sell_currency=USD&fixed_side=buy&amount=1000&reason=mortgage%20payment&term_agreement=true headers: X-Auth-Token: - 6f5f99d1b860fc47e8a186e3dce0d3f9 response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 04 May 2015 20:28:29 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '865' Connection: - keep-alive X-Request-Id: - '2778807612227406608' X-Content-Type-Options: - nosniff body: encoding: UTF-8 string: '{"id":"24d2ee7f-c7a3-4181-979e-9c58dbace992","settlement_date":"2015-05-06T14:00:00+00:00","conversion_date":"2015-05-06T00:00:00+00:00","short_reference":"20150504-PGRNVJ","creator_contact_id":"c4d838e8-1625-44c6-a9fb-39bcb1fe353d","account_id":"8ec3a69b-02d1-4f09-9a6b-6bd54a61b3a8","currency_pair":"GBPUSD","status":"awaiting_funds","buy_currency":"GBP","sell_currency":"USD","client_buy_amount":"1000.00","client_sell_amount":"1511.70","fixed_side":"buy","mid_market_rate":"1.5118","core_rate":"1.5117","partner_rate":"","partner_status":"funds_arrived","partner_buy_amount":"0.00","partner_sell_amount":"0.00","client_rate":"1.5117","deposit_required":false,"deposit_amount":"0.00","deposit_currency":"","deposit_status":"not_required","deposit_required_at":"","payment_ids":[],"created_at":"2015-05-04T20:28:29+00:00","updated_at":"2015-05-04T20:28:29+00:00"}' http_version: recorded_at: Mon, 04 May 2015 20:28:29 GMT - request: method: post uri: https://devapi.thecurrencycloud.com/v2/settlements/create body: encoding: US-ASCII string: '' headers: X-Auth-Token: - 6f5f99d1b860fc47e8a186e3dce0d3f9 response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 04 May 2015 20:29:16 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '243' Connection: - keep-alive X-Request-Id: - '2778808011768427319' X-Content-Type-Options: - nosniff body: encoding: UTF-8 string: '{"id":"63eeef54-3531-4e65-827a-7d0f37503fcc","status":"open","short_reference":"20150504-RKNNBH","type":"bulk","conversion_ids":[],"entries":[],"created_at":"2015-05-04T20:29:16+00:00","updated_at":"2015-05-04T20:29:16+00:00","released_at":""}' http_version: recorded_at: Mon, 04 May 2015 20:29:16 GMT - request: method: post uri: https://devapi.thecurrencycloud.com/v2/settlements/63eeef54-3531-4e65-827a-7d0f37503fcc/add_conversion body: encoding: UTF-8 string: conversion_id=24d2ee7f-c7a3-4181-979e-9c58dbace992 headers: X-Auth-Token: - 6f5f99d1b860fc47e8a186e3dce0d3f9 response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 04 May 2015 20:40:57 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '396' Connection: - keep-alive X-Request-Id: - '2778813884314110346' X-Content-Type-Options: - nosniff body: encoding: UTF-8 string: '{"id":"63eeef54-3531-4e65-827a-7d0f37503fcc","status":"open","short_reference":"20150504-RKNNBH","type":"bulk","conversion_ids":["24d2ee7f-c7a3-4181-979e-9c58dbace992"],"entries":[{"GBP":{"receive_amount":"1000.00","send_amount":"0.00"}},{"USD":{"receive_amount":"0.00","send_amount":"1511.70"}}],"created_at":"2015-05-04T20:29:16+00:00","updated_at":"2015-05-04T20:40:56+00:00","released_at":""}' http_version: recorded_at: Mon, 04 May 2015 20:40:57 GMT recorded_with: VCR 2.9.3