Skip to main content

Quickstart

This walkthrough targets the sandbox. Use production gatewayUrl and credentials only when you are ready to go live — see Production checklist.
Follow the steps below to create a payment and inspect its state with the GoPay SDK.
1

Prepare credentials

Create sandbox credentials in your GoPay account and configure:
  • GOPAY_CLIENT_ID
  • GOPAY_CLIENT_SECRET
  • your merchant goid
2

Create the client

3

Create a payment

4

Send the shopper to GoPay

5

Query payment state

Amounts are always in minor units (e.g. halers for CZK). See Best practices for more payment integration patterns.

Next steps