--- http_interactions: - request: method: post uri: https://sandbox.boletosimples.com.br/api/v1/customer_subscriptions?access_token=BOLETOSIMPLES_ACCESS_TOKEN body: encoding: UTF-8 string: '{"customer_subscription":{"customer_id":""}}' headers: User-Agent: - BoletoSimples Ruby Client v0.3.1 (contato@boletosimples.com.br) Authorization: - Token token="BOLETOSIMPLES_ACCESS_TOKEN" Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 422 message: Unprocessable Entity headers: Connection: - keep-alive Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Status: - 422 Unprocessable Entity Cache-Control: - no-cache X-Ratelimit-Limit: - '500' Date: - Mon, 15 Aug 2016 19:12:05 GMT Strict-Transport-Security: - max-age=631138519 X-Ratelimit-Remaining: - '497' Vary: - Accept-Encoding X-Permitted-Cross-Domain-Policies: - none X-Xss-Protection: - 1; mode=block X-Request-Id: - 4f6a7f8d-2994-4a6d-b7ae-fc2dd1aa083b Content-Security-Policy-Report-Only: - 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com zapier.com www.google-analytics.com www.googleadservices.com i.kissmetrics.com doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io; style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly' X-Download-Options: - noopen X-Runtime: - '0.028764' X-Frame-Options: - sameorigin X-Content-Type-Options: - nosniff X-Rack-Cache: - invalidate, pass X-Powered-By: - Phusion Passenger 5.0.30 Server: - nginx/1.10.1 + Phusion Passenger 5.0.30 Via: - 1.1 vegur body: encoding: UTF-8 string: '{"errors":{"customer":["não pode ficar em branco"],"bank_billet_account":["não pode ficar em branco"],"amount":["não pode ficar em branco"],"description":["não pode ficar em branco"]}}' http_version: recorded_at: Mon, 15 Aug 2016 19:12:05 GMT recorded_with: VCR 2.9.3