Changelog
Changes of the merchant payment APIs (Gate API /api/payment_intent, Gate API v1 /api/v1/payment_intent) that integrators should know about. Newest first.
Unreleased
Default API version (requests without RedPay-Api-Version)
Applies to /api/payment_intent. Documentation only: nothing changes for your requests.
- A request without the header uses the default version of your VPos (
defaultApiVersioninGET /api/vpos). Today it is2026-11-01for every VPos. - The default is fixed when the VPos is created (the newest version at that time) and never moves to a newer version on its own. It is not "latest", because new dated versions bring breaking changes.
- A deprecated default version is reported with
RedPay-Api-Version-Deprecated/Sunsetalso on requests without the header. A version is removed only after an announcedSunsetdate, and a removed version is never replaced silently by another one. See Versioning in the Gate API reference.
Default return URLs of a VPos
Applies to every payment shown on the RedPay payment page and to the VPos API.
confirmUrlandfailureUrlon the VPos (/api/v1/merchant-vpos): optional absolutehttpsURLs with a host, at most 250 characters (others →400). OnPATCHan absent value is unchanged and an empty string removes it.- After paying, the payment page sends the payer to the payment's own
confirmUrl/failureUrl, else to your VPos's, else to RedPay's pages as before. Each URL is chosen on its own. - The status APIs keep returning only the URLs you sent with the payment.
Payer language
Applies to /api/v1/payment_intent, /api/payment_intent and the VPos API.
- Optional
languageon payment creation: a two-letter code (pl,en,de,bg,cs,da,el,es,et,fi,fr,ga,hr,hu,it,lt,lv,mt,nl,pt,ro,sk,sl,sv), any case. Other values →400. Without it the payment uses your VPos language, else Polish, as before. - VPos default language:
languageon the VPos (/api/v1/merchant-vpos), optional on create (pl), update and patch (unchanged when absent).GET /api/vposshows it. - The payment page opens in that language: paywall links, including
redirectUrl, now carrylang(e.g.…/payment/RP-…-TR?lang=en-GB). If you build the payment URL yourself, you can addlangtoo. - The payer's confirmation email is sent in the payment's language.
/api/payment_intentresponses includelanguage.
Idempotency-Key and rate limits
Applies to /api/v1/payment_intent and /api/payment_intent.
- Optional
Idempotency-Keyheader (1–64 charactersA-Z a-z 0-9 _ -) onPOSTrequests of/api/payment_intent/**and/api/v1/payment_intent/**. A retry with the same key and the same request returns the original response (withIdempotent-Replayed: true) without executing it again, for 24 hours. Use it for creates and especially for refunds. Same key with a different request →422; while the first request is still running →409. Server errors (5xx) are not remembered, so you can retry them with the same key. Requests without the header behave as before. - Rate limits per API credential (
Auth-Token): 1200 reads (GET) and 150 writes (POST) per minute; requests without credentials are limited per IP. Above the limit you get429 Too Many RequestswithRetry-After. Every response carriesRateLimit-Limit,RateLimit-RemainingandRateLimit-Reset.
Payment result notifications (asyncAckUrl / VPos ACK URL)
Applies to all channels. Payload, X-Signature-SHA256 header and signature are unchanged.
- Failed deliveries are retried for about two days: after 1 min, 5 min, 15 min, 1 h, 3 h, 6 h, 12 h and 24 h (previously 5 attempts, 2 minutes apart).
- Your endpoint must answer within 15 seconds (previously 60 s) and is connected with a 5 s timeout.
- Redirects (
3xx) are not followed and count as a failed delivery. Point the URL at the final endpoint. - Notifications are only sent to public internet addresses on ports 80 and 443. URLs resolving to private, loopback or link-local addresses, or using other ports or credentials in the URL, are not called.
Error status codes and cancelable
Applies to /api/v1/payment_intent and /api/payment_intent. No response fields change.
- Refunding a payment that is not paid (e.g.
INITIAL,TIMEOUT,PARTLY_PAID) returns422 Unprocessable Entitynaming the status (previously500). - A temporary outage of a payment provider (cards) returns
503 Service Unavailable. Retry later (previously500). - An unsupported currency returns
400 Bad RequestwithCurrency <X> not supported; supported: PLN(previously501). cancelablein the status responses of/api/v1/payment_intent/{id}/statusnow reports whether a cancel would be accepted (previously alwaysfalse).type=CARDon/api/v1/payment_intentreturns422withPayment type CARD is not supported on this API; use /api/payment_intent(these APIs cannot carry a card token).
Refunds of bank transfer (TRANSFER) payments
Applies to all channels.
- A partial refund now sets the payment status to
PARTLY_REFUNDED(previouslyREFUNDED).REFUNDEDis set only when the refunded total reaches the payment amount. amountRefundedis the cumulative refunded amount (previously the amount of the last refund only).- A refund larger than the remaining refundable amount (
amount - amountRefunded) is rejected with400 Bad Request. No refund is created.
2026-11-01 - Gate API initial release
- Header-versioned Gate API (
/api/payment_intent,RedPay-Api-Version: 2026-11-01) with public payment ids, refund resources, payment listing, discovery (/api/payment_channels,/api/vpos) and signed webhook events. /api/v1/payment_intentis frozen; new integrations should use the Gate API.