Sha256: 6a0e6aaf233542887f636a14e3876e34b53a92bcb44a627016a8840151b22e16

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://demo.moneta.ru/services
    body:
      encoding: UTF-8
      string: '{"Envelope":{"Header":{"Security":{"UsernameToken":{"Username":"<USERNAME>","Password":"<PASSWORD>"}}},"Body":{"AuthoriseTransactionBatchRequest":{"transactional":false,"exitOnFailure":true,"transaction":[{"payer":10999,"payee":28988504,"amount":10,"isPayerAmount":false,"paymentPassword":"12345"}]}}}}'
    headers:
      User-Agent:
      - Faraday v0.11.0
      Content-Type:
      - application/json;charset=UTF-8
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Tue, 14 Feb 2017 15:40:23 GMT
      Content-Type:
      - application/json;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Keep-Alive:
      - timeout=60
      Strict-Transport-Security:
      - max-age=31536000 ; includeSubDomains
    body:
      encoding: UTF-8
      string: '{"Envelope":{"Body":{"AuthoriseTransactionBatchResponse":{"transaction":[{"transaction":{"id":416486,"attribute":[{"value":"BUSINESS","key":"category"},{"value":"RUB","key":"sourcecurrencycode"},{"value":"10","key":"sourceamount"},{"value":"10","key":"typeid"},{"value":"-10","key":"targetamount"},{"value":"98669","key":"protectioncode"},{"value":"RUB","key":"targetcurrencycode"},{"value":"TAKENOUT","key":"statusid"},{"value":"10","key":"sourceamounttotal"},{"value":"2017-02-14T18:40:22.000+03:00","key":"modified"},{"value":"10999","key":"targetaccountid"},{"value":"2017-02-15T18:40:22.000+03:00","key":"protectioncodeexpirationdate"},{"value":"28988504","key":"sourceaccountid"},{"value":"true","key":"isreversed"}]}}]}}}}'
    http_version: 
  recorded_at: Tue, 14 Feb 2017 15:40:21 GMT
recorded_with: VCR 3.0.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/vcr/moneta_api_requests_authorisetransactionbatchrequest/use_when_one_operation_transaction_transaction_.yml
moneta-api-2.0.0 spec/vcr/moneta_api_requests_authorisetransactionbatchrequest/use_when_one_operation_transaction_transaction_.yml
moneta-api-2.0.0.rc2 spec/vcr/moneta_api_requests_authorisetransactionbatchrequest/use_when_one_operation_transaction_transaction_.yml
moneta-api-2.0.0.rc1 spec/vcr/moneta_api_requests_authorisetransactionbatchrequest/use_when_one_operation_transaction_transaction_.yml