Integration
Which integration method should I choose?
GlobalPay offers two main approaches:
- Checkout — a hosted payment page by GlobalPay. You create a payment link and redirect the user. Minimal development effort on the partner's side.
- Back2Back (Gateway) — full UX control on your site. You render the card form, tokenize it via the Cards API, and process the payment via the Payments API.
If quick launch matters — choose Checkout. If you need a custom interface — choose Back2Back.
Do I need to test in Sandbox before production?
Yes. All integrations must be verified on Dev and Staging servers before going to production. Dev and Staging do not charge real money.
How do I get Sandbox access?
Contact support via Telegram. They will provide credentials for the test environment.
Can I use multiple services in one payment?
Yes — via multi-payment (v3). A basket payment is created via POST /v1/user-service-tokens/multi (Checkout) or POST /v3/transaction/init (Gateway). All services must be under the same Provider hierarchy.
What is externalId and why is it required?
externalId is a unique payment identifier on your side. It is mandatory and must be unique for each payment. Reusing the same externalId will be rejected (code 1013), which protects against duplicate payments on retries.