Sha256: 617dbef388c746b3c6ce2170327ba00f3ab91a8e26d84ab99ba58d13a29131b0

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 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":{"AuthoriseTransactionRequest":{"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:26 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":{"AuthoriseTransactionResponse":{"id":416489,"attribute":[{"value":"BUSINESS","key":"category"},{"value":"RUB","key":"sourcecurrencycode"},{"value":"10","key":"sourceamount"},{"value":"10","key":"typeid"},{"value":"-10","key":"targetamount"},{"value":"23712","key":"protectioncode"},{"value":"RUB","key":"targetcurrencycode"},{"value":"TAKENOUT","key":"statusid"},{"value":"10","key":"sourceamounttotal"},{"value":"2017-02-14T18:40:25.000+03:00","key":"modified"},{"value":"10999","key":"targetaccountid"},{"value":"2017-02-15T18:40:25.000+03:00","key":"protectioncodeexpirationdate"},{"value":"28988504","key":"sourceaccountid"},{"value":"true","key":"isreversed"}]}}}}'
    http_version: 
  recorded_at: Tue, 14 Feb 2017 15:40:24 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_authorisetransactionrequest_authorise_transaction/should_success.yml
moneta-api-2.0.0 spec/vcr/moneta_api_requests_authorisetransactionrequest_authorise_transaction/should_success.yml
moneta-api-2.0.0.rc2 spec/vcr/moneta_api_requests_authorisetransactionrequest_authorise_transaction/should_success.yml
moneta-api-2.0.0.rc1 spec/vcr/moneta_api_requests_authorisetransactionrequest_authorise_transaction/should_success.yml