Sha256: 88b05b2cc67ca1edc8b1cd41d7376d6922d6c6417c60599f36de478026ffe143

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://01010101010101010101010101010101:ABABABABABABABABABABABABABABABABABABABAB@sandbox.moip.com.br/v2/orders/ORD-6K8XPJD9O2KH/refunds
    body:
      encoding: UTF-8
      string: '{"amount":100}'
    headers:
      Content-Type:
      - application/json
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Fri, 27 Feb 2015 20:56:23 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '688'
      Connection:
      - keep-alive
      Status:
      - 201 Created
      Vary:
      - Accept-Encoding
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"id":"REF-QW4T48M7NDFH","status":"COMPLETED","events":[{"createdAt":"2015-02-27T17:56:22-0300","type":"REFUND.COMPLETED"},{"createdAt":"2015-02-27T17:56:21-0300","type":"REFUND.REQUESTED"}],"amount":{"fees":0,"currency":"BRL","total":100},"type":"PARTIAL","refundingInstrument":{"creditCard":{"brand":"VISA","first6":"401200","last4":"3335"},"method":"CREDIT_CARD"},"createdAt":"2015-02-27T17:56:21-0300","_links":{"payment":{"title":"PAY-5VWJOESX1BWB","href":"https://sandbox.moip.com.br/v2/payments/PAY-5VWJOESX1BWB"},"order":{"title":"ORD-6K8XPJD9O2KH","href":"https://sandbox.moip.com.br/v2/orders/ORD-6K8XPJD9O2KH"},"self":{"href":"https://sandbox.moip.com.br/v2/refunds/REF-QW4T48M7NDFH"}}}'
    http_version: 
  recorded_at: Fri, 27 Feb 2015 20:56:21 GMT
recorded_with: VCR 2.9.3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
moip2-1.3.1 vcr_cassettes/create_partial_refunded_order.yml
moip2-1.2.1 vcr_cassettes/create_partial_refunded_order.yml
moip2-1.2.0 vcr_cassettes/create_partial_refunded_order.yml
moip2-1.1.0 vcr_cassettes/create_partial_refunded_order.yml
moip2-1.0.0 vcr_cassettes/create_partial_refunded_order.yml
moip2-0.1.4 vcr_cassettes/create_partial_refunded_order.yml
moip2-0.1.3 vcr_cassettes/create_partial_refunded_order.yml