moip/moip-sdk-ruby

View on GitHub
vcr_cassettes/find_all_transfers_filters.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: https://01010101010101010101010101010101:ABABABABABABABABABABABABABABABABABABABAB@sandbox.moip.com.br/v2/transfers?filters=transferInstrument.method::in(BANK_ACCOUNT)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - MoipRubySDK/1.2.1 (+https://github.com/moip/moip-sdk-ruby)
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Fri, 12 Jan 2018 17:01:58 GMT
      Server:
      - Apache
      Status:
      - 200 OK
      X-Newrelic-App-Data:
      - PxQFUlBXAQoTV1VaDgMEUUYdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOFAVtGBIWUFhABAMRERBKfydsERYeA0sJTQFPAlBTBgFRU1UUAxxGAlUFBw9fBwFTBVMHU1UAARpOXllYQVY4
      Content-Type:
      - application/json
      Content-Length:
      - '12363'
      X-Content-Type-Options:
      - nosniff
      Vary:
      - Accept-Encoding,Origin
    body:
      encoding: UTF-8
      string: '{"summary":{"amount":168758324,"count":11137},"transfers":[{"fee":0,"amount":500,"updatedAt":"2018-01-11T20:58:45.000Z","id":"TRA-4PGNZ7KOFN4G","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-M3B94YJ939F0","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2018-01-11T20:58:43.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-4PGNZ7KOFN4G"}}},{"fee":0,"amount":9000,"updatedAt":"2018-01-03T18:12:31.000Z","id":"TRA-8XKL7XDBS26C","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-EQW51MWMAO22","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"11111111","accountCheckNumber":"1","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"1","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2018-01-03T18:12:31.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-8XKL7XDBS26C"}}},{"fee":0,"amount":500,"updatedAt":"2017-11-07T17:41:37.000Z","id":"TRA-A8K7B5WHRTGF","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-DM3ALKMHL2W3","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-11-07T17:41:36.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-A8K7B5WHRTGF"}}},{"fee":0,"amount":500,"updatedAt":"2017-11-01T11:18:19.000Z","id":"TRA-ZVLYJWEGTUNA","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-11-01T11:18:19.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-ZVLYJWEGTUNA"}}},{"fee":0,"amount":1000,"updatedAt":"2017-10-31T16:38:48.000Z","id":"TRA-YXA9ADVTQ18P","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-F52NFFUZDWLW","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-31T16:38:48.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-YXA9ADVTQ18P"}}},{"fee":0,"amount":1000,"updatedAt":"2017-10-31T16:36:12.000Z","id":"TRA-HBYV8MIN9PAJ","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-R1JFFA2LBPTW","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-31T16:36:12.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-HBYV8MIN9PAJ"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-30T09:38:07.000Z","id":"TRA-CRQBMMRS4XK9","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-30T09:38:07.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-CRQBMMRS4XK9"}}},{"fee":0,"amount":1000,"updatedAt":"2017-10-29T20:52:03.000Z","id":"TRA-QIF4D8QIPW5T","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-YYXOL77W6249","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-29T20:52:03.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-QIF4D8QIPW5T"}}},{"fee":0,"amount":1000,"updatedAt":"2017-10-29T20:25:02.000Z","id":"TRA-18UC7OQVJAZL","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-Z5AQ0I4GIF9W","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-29T20:25:02.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-18UC7OQVJAZL"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-29T20:18:23.000Z","id":"TRA-9HTCPSQ2IR4X","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-290J9CJJI0ND","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-29T20:18:23.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-9HTCPSQ2IR4X"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T16:50:27.000Z","id":"TRA-8PBO743QDU9W","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T16:50:27.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-8PBO743QDU9W"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T12:39:33.000Z","id":"TRA-J2J6UVF9IGDT","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T12:39:33.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-J2J6UVF9IGDT"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T10:58:36.000Z","id":"TRA-H6EJFHL0VT5O","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T10:58:36.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-H6EJFHL0VT5O"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T10:02:28.000Z","id":"TRA-HYGPCMW4OFVK","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T10:02:28.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-HYGPCMW4OFVK"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T09:45:26.000Z","id":"TRA-EUIOZMSQXCDO","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T09:45:26.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-EUIOZMSQXCDO"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-27T09:40:34.000Z","id":"TRA-0C6NM48A19J0","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-27T09:40:34.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-0C6NM48A19J0"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-26T19:01:11.000Z","id":"TRA-SDGPYR52OMAU","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-26T19:01:11.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-SDGPYR52OMAU"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-26T18:34:27.000Z","id":"TRA-HOOGEFHN9BXB","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-26T18:34:27.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-HOOGEFHN9BXB"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-25T11:27:48.000Z","id":"TRA-LTYUIB87T8T3","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-25T11:27:48.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-LTYUIB87T8T3"}}},{"fee":0,"amount":500,"updatedAt":"2017-10-25T10:56:33.000Z","id":"TRA-UEXEDZ9QGUHP","transferInstrument":{"method":"BANK_ACCOUNT","bankAccount":{"id":"BKA-22IFEOPZJAJB","agencyNumber":"1111","holder":{"taxDocument":{"number":"255.328.259-12","type":"CPF"},"fullname":"Jose
        Silva dos Santos"},"accountNumber":"9999","accountCheckNumber":"8","bankName":"BANCO
        DO BRASIL S.A.","type":"CHECKING","agencyCheckNumber":"2","bankNumber":"001"}},"status":"COMPLETED","createdAt":"2017-10-25T10:56:33.000Z","role":"PAYER","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/transfers/TRA-UEXEDZ9QGUHP"}}}],"_links":{"previous":{"href":"https://sandbox.moip.com.br/v2/transfers?filters=transferInstrument.method::in(BANK_ACCOUNT)&offset=0&limit=20"},"next":{"href":"https://sandbox.moip.com.br/v2/transfers?filters=transferInstrument.method::in(BANK_ACCOUNT)&offset=20&limit=20"}}}'
    http_version: 
  recorded_at: Fri, 12 Jan 2018 17:01:58 GMT
recorded_with: VCR 2.9.3