---
http_interactions:
- request:
    method: post
    uri: https://vine-staging.openfoodnetwork.org.au/api/v1/voucher-validation
    body:
      encoding: UTF-8
      string: '{"type":"voucher_code","value":"CI3922"}'
    headers:
      X-Authorization:
      - "<HIDDEN-VINE-TOKEN>"
      Accept:
      - application/json
      User-Agent:
      - Faraday v2.9.0
      Content-Type:
      - application/json
      Authorization:
      - "<HIDDEN-AUTHORIZATION-HEADER>"
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Vary:
      - Accept-Encoding
      Cache-Control:
      - no-cache, private
      Date:
      - Mon, 07 Oct 2024 23:48:46 GMT
      X-Ratelimit-Limit:
      - '60'
      X-Ratelimit-Remaining:
      - '59'
      Access-Control-Allow-Origin:
      - "*"
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: ASCII-8BIT
      string: '{"meta":{"responseCode":200,"limit":50,"offset":0,"message":""},"data":{"id":"9d2437c8-4559-4dda-802e-8d9c642a0c1d","voucher_short_code":"CI3922","voucher_set_id":"9d24349c-1fe8-4090-988b-d7355ed32559","is_test":1,"voucher_value_original":500,"voucher_value_remaining":500,"num_voucher_redemptions":0,"last_redemption_at":null,"created_at":"2024-10-01T13:20:02.000000Z","updated_at":"2024-10-01T13:20:02.000000Z","deleted_at":null}}'
  recorded_at: Mon, 07 Oct 2024 23:48:46 GMT
recorded_with: VCR 6.2.0
