Sha256: 95d5957b64e234d71c556676ed65ad443881c650e7c459cfb8f923739785f2fa

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.moip.com.br/v2/invoices
    body:
      encoding: UTF-8
      string: '{"amount":13470,"email":"caio.gama@moip.com.br","invoiceType":"subscription","description":"Assinatura
        da aula de desenho"}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - OAuth d63tz2xwyu0ewrembove4j5cbv2otpd
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Mon, 09 Mar 2015 13:23:23 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '140'
      Connection:
      - keep-alive
      Status:
      - 201 Created
      Via:
      - 1.1 vegur
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"id":"INV-4517A209DDA9","amount":13470,"description":"Assinatura da
        aula de desenho","email":"caio.gama@moip.com.br","type":"subscription"}'
    http_version: 
  recorded_at: Mon, 09 Mar 2015 13:22:55 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moip2-0.1.4 vcr_cassettes/create_invoice.yml
moip2-0.1.3 vcr_cassettes/create_invoice.yml