Sha256: 7aeeaf4d0a70e5876ec4a7d54a51be6081a7b37a34a2ff2aae8e8af050a099e5

Contents?: true

Size: 1.05 KB

Versions: 5

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 9fdc242631454d4c95d82e27b4127394_v2
  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

5 entries across 5 versions & 1 rubygems

Version Path
moip2-1.3.1 vcr_cassettes/_create_invoice.yml
moip2-1.2.1 vcr_cassettes/_create_invoice.yml
moip2-1.2.0 vcr_cassettes/_create_invoice.yml
moip2-1.1.0 vcr_cassettes/_create_invoice.yml
moip2-1.0.0 vcr_cassettes/_create_invoice.yml