Check payment status
Retrieves the current state of a transaction.
Call this after the customer is redirected back to your site, and before fulfilling
any order. A redirect to your success_url does not by itself confirm that funds were
collected — only a paymentStatus of CAPTURED does.
Also use this endpoint for reconciliation and to confirm the outcome of a refund.
Authorizations
Your private key, Base64-encoded.
Encode the key before sending it — for example base64_encode($privateKey) in PHP or
Buffer.from(privateKey).toString('base64') in Node.js. Paste the already-encoded
value here when testing from these docs.
Use your test key here. This console only calls the sandbox environment, so a production key will not authenticate.

