Sha256: 0a93d3ffabf1c52bbf674e780470ce0706de940baec67f37c9fd5d64733bb599

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: ETH_WALLET_HOST/api/v1/withdrawals/request
    body:
      encoding: UTF-8
      string: '{"nonce":1,"amount":0.123,"external_ref":"someidentifier","postback_url":"http://app.host/withdrawal","address":"0xa44d2ece132e60f42b9df758ee4534e5b9fb25c5"}'
    headers:
      Content-Type:
      - application/json
      Appname:
      - remitano
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '228'
      Etag:
      - W/"00c7b1711a04230d6fff04b605041b28"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 94157068-96fb-4879-930e-55fabd514a6d
      X-Runtime:
      - '0.018243'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"ref":"E53559514W","status":"pending","status_explanation":null,"address":"0xa44d2ece132e60f42b9df758ee4534e5b9fb25c5","amount":"0.123","retries_count":0,"retry_scheduled_at":null,"external_ref":"someidentifier","tx_hash":null}'
    http_version:
  recorded_at: Tue, 05 Sep 2017 13:31:24 GMT
recorded_with: VCR 3.0.3

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_EthWalletClient/_send_withdrawal/returns_the_withdrawal_data.yml