• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sgerrand / ex_teya / 35758823331
100%

Build:
DEFAULT BRANCH: main
Ran 22 Sep 2026 05:09PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Sep 2026 05:09PM UTC coverage: 100.0%. Remained the same
35758823331

push

github

web-flow
fix(poslink)!: move to current POSLink payment and refund endpoints (#37)

Teya removed GET /poslink/v1/payment-requests and POST /poslink/v1/refunds
on 22 Jul 2026, and the v3 payment request stream supersedes v2.

- Payment.create/2 posts to /poslink/v3/payment-requests
- Payment.subscribe/2 streams from /poslink/v3/payment-requests/{id}
- Payment.list/1 calls /poslink/v2/payment-requests (store_id required)
- Payment.get/2 reads the first snapshot from the v3 stream, since v3 has
  no plain JSON endpoint for a single payment request
- Refund.create/2 posts to /poslink/v2/refunds

BREAKING CHANGE: Refund.create/2 now takes transaction_id (the original
payment's gateway_payment_id) and amount instead of store_id and
payment_request_id. Refund statuses are SUCCESS, FAILURE or PENDING.
Payment.create/2 requires transaction_type and merchant_reference.
Payment.list/1 requires the store_id query param. Payment.get/2 accepts
only a :timeout option and can return {:error, :timeout} or
{:error, :no_event}.

19 of 19 new or added lines in 2 files covered. (100.0%)

147 of 147 relevant lines covered (100.0%)

11.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35758823331.1 22 Sep 2026 05:09PM UTC 20
100.0
GitHub Action Run
Source Files on build 35758823331
  • Tree
  • List 20
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35758823331
  • b61ca852 on github
  • Prev Build on main (#35250496745)
  • Next Build on main (#35831876402)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc