Sha256: 96b949dbbef5683aaa2246da2b62442733bbcb047cc8ce10cb4367a31926b8eb

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3500/api/v1/orders
    body:
      encoding: UTF-8
      string: '{"ref":"INV0001","source_coin":"usdt","source_amount":1000,"destination_coin":"btc","min_destination_amount":99}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - 20dcbe4ab5ef7220c591114fe1b6276992636390cc5da014d1d02d0122c2edf1776d86717b2703be9d83cdbf1e062b7972e7529aceae0a8c1d9a9c1678aa6c07
      Appname:
      - remitano
  response:
    status:
      code: 422
      message: 'Unprocessable Entity '
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '38'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 361aacb0-40ae-41e9-a837-ef659ccf754b
      X-Runtime:
      - '0.047616'
      Server:
      - WEBrick/1.3.1 (Ruby/2.4.5/2018-10-18)
      Date:
      - Wed, 29 May 2019 04:00:37 GMT
      Connection:
      - Keep-Alive
    body:
      encoding: ASCII-8BIT
      string: '{"error":"Ref has already been taken"}'
    http_version:
  recorded_at: Wed, 29 May 2019 04:00:37 GMT
recorded_with: VCR 2.6.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_LiquidityClient/_submit_order/order_failed/return_error.yml