Sha256: ca7e820e3c8fad4d787e13725b8f10903886d4437c8348cd197c94322c92ccd1

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.fortnox.se/3/termsofpayments/123456789
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Content-Length:
      - '95'
      Content-Type:
      - application/json
      Date:
      - Mon, 22 Jan 2024 14:57:49 GMT
      Vary:
      - Accept-Encoding
      X-Build:
      - 9dd4e26746
      X-Frame-Options:
      - sameorigin
      X-Rack-Responsetime:
      - '63'
      X-Uid:
      - 61569c90
      Server:
      - Fortnox
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - '0'
      Referrer-Policy:
      - strict-origin-when-cross-origin
      Content-Security-Policy:
      - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
        /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
        *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
        s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
        fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
        ''unsafe-eval'' blob: data:'
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains
    body:
      encoding: ASCII-8BIT
      string: '{"ErrorInformation":{"Error":1,"Message":"Kan inte hitta betalningsvillkoret.","Code":2000429}}'
  recorded_at: Mon, 22 Jan 2024 14:57:49 GMT
recorded_with: VCR 6.2.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fortnox-api-0.8.2 spec/vcr_cassettes/termsofpayments/find_failure.yml
fortnox-api-0.8.1 spec/vcr_cassettes/termsofpayments/find_failure.yml