vcr_cassettes/void_multi_payment_sucess.yml
---
http_interactions:
- request:
method: post
uri: https://01010101010101010101010101010101:ABABABABABABABABABABABABABABABABABABABAB@sandbox.moip.com.br/v2/multipayments/MPY-4XRLP4YBLVFB/void
body:
encoding: UTF-8
string: '{}'
headers:
Content-Type:
- application/json
User-Agent:
- MoipRubySDK/1.0.0 (+https://github.com/moip/moip-sdk-ruby)
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 02 Oct 2017 16:38:57 GMT
Server:
- Apache
Status:
- 200 OK
X-Newrelic-App-Data:
- PxQFUlBXAQoTUVFWDgEDUVYTGhE1AwE2QgNWEVlbQFtcC2VOYwRAFjNTVTIDEU5aUwE9TUEDa0kJRFpHCxYCG10HVhZLZBtJWgFEPR4XXAsAFh8xKTBsGhJIUUwHHQdIVgECBFRQWlYcUBRADQ5RB1ZXWgIFAAdaUQJRUERPXlJcFwQ/
Content-Type:
- application/json
Content-Length:
- '3157'
X-Content-Type-Options:
- nosniff
Vary:
- Accept-Encoding,Origin
body:
encoding: UTF-8
string: '{"id":"MPY-4XRLP4YBLVFB","status":"CANCELLED","amount":{"total":8000,"gross":8000,"currency":"BRL"},"installmentCount":1,"payments":[{"id":"PAY-30GIL21HHUWG","status":"CANCELLED","delayCapture":true,"cancellationDetails":{"code":"7","description":"Política
do Moip","cancelledBy":"MOIP"},"amount":{"total":4000,"gross":4000,"fees":289,"refunds":0,"liquid":3711,"currency":"BRL"},"installmentCount":1,"fundingInstrument":{"creditCard":{"id":"CRC-0DWSR8500SWI","brand":"VISA","first6":"401200","last4":"3335","store":true,"holder":{"birthdate":"1988-12-30","birthDate":"1988-12-30","taxDocument":{"type":"CPF","number":"33333333333"},"fullname":"Jose
Portador da Silva"}},"method":"CREDIT_CARD"},"fees":[{"type":"TRANSACTION","amount":289}],"events":[{"type":"PAYMENT.CANCELLED","createdAt":"2017-10-02T13:38:57.353-03"},{"type":"PAYMENT.PRE_AUTHORIZED","createdAt":"2017-10-02T13:38:40.000-03"},{"type":"PAYMENT.CREATED","createdAt":"2017-10-02T13:38:39.000-03"},{"type":"PAYMENT.IN_ANALYSIS","createdAt":"2017-10-02T13:38:39.000-03"},{"type":"PAYMENT.WAITING","createdAt":"2017-10-02T13:38:39.000-03"}],"receivers":[{"moipAccount":{"id":"MPA-1DD377B1D8FB","login":"dev.moip.1455@labs.moip.com.br","fullname":"Joaquim
Silva Silva"},"type":"PRIMARY","amount":{"total":4000,"refunds":0}}],"_links":{"self":{"href":"https://sandbox.moip.com.br/v2/payments/PAY-30GIL21HHUWG"},"order":{"href":"https://sandbox.moip.com.br/v2/orders/ORD-X7J6W5PQR6IH","title":"ORD-X7J6W5PQR6IH"}},"createdAt":"2017-10-02T13:38:39.000-03","updatedAt":"2017-10-02T13:38:57.352-03"},{"id":"PAY-SDXJ4FZER5YW","status":"CANCELLED","delayCapture":true,"cancellationDetails":{"code":"7","description":"Política
do Moip","cancelledBy":"MOIP"},"amount":{"total":4000,"gross":4000,"fees":289,"refunds":0,"liquid":3711,"currency":"BRL"},"installmentCount":1,"fundingInstrument":{"creditCard":{"id":"CRC-0DWSR8500SWI","brand":"VISA","first6":"401200","last4":"3335","store":true,"holder":{"birthdate":"1988-12-30","birthDate":"1988-12-30","taxDocument":{"type":"CPF","number":"33333333333"},"fullname":"Jose
Portador da Silva"}},"method":"CREDIT_CARD"},"fees":[{"type":"TRANSACTION","amount":289}],"events":[{"type":"PAYMENT.CANCELLED","createdAt":"2017-10-02T13:38:57.354-03"},{"type":"PAYMENT.PRE_AUTHORIZED","createdAt":"2017-10-02T13:38:40.000-03"},{"type":"PAYMENT.CREATED","createdAt":"2017-10-02T13:38:39.000-03"},{"type":"PAYMENT.IN_ANALYSIS","createdAt":"2017-10-02T13:38:39.000-03"},{"type":"PAYMENT.WAITING","createdAt":"2017-10-02T13:38:39.000-03"}],"receivers":[{"moipAccount":{"id":"MPA-1DD377B1D8FB","login":"dev.moip.1455@labs.moip.com.br","fullname":"Joaquim
Silva Silva"},"type":"PRIMARY","amount":{"total":4000,"refunds":0}}],"_links":{"self":{"href":"https://sandbox.moip.com.br/v2/payments/PAY-SDXJ4FZER5YW"},"order":{"href":"https://sandbox.moip.com.br/v2/orders/ORD-P1CDNY9Q2G3J","title":"ORD-P1CDNY9Q2G3J"}},"createdAt":"2017-10-02T13:38:39.000-03","updatedAt":"2017-10-02T13:38:57.353-03"}],"_links":{"self":{"href":"https://sandbox.moip.com.br/v2/multipayments/MPY-4XRLP4YBLVFB"},"multiorder":{"href":"https://sandbox.moip.com.br/v2/multiorders/MOR-N7U9O239Q3GD"}}}'
http_version:
recorded_at: Mon, 02 Oct 2017 16:38:58 GMT
recorded_with: VCR 2.9.3