Your first payment.
Go from a signed request to a confirmed local payment. The complete request example is alongside this guide.
Ask the Axiron team for your merchant ID, Bearer token, secret key and enabled payment methods. Confirm the environment and approved testing procedure before sending requests.
Prepare your server
Keep your token and signing key in server-side environment variables. Requests use JSON and are authenticated with a Bearer token and HMAC-SHA256 signature.
Understand authentication →Create the payment
Provide
See all request parameters →merchantId, a uniqueorderId,amount,currencyand an enabledmethod. IncludecallbackUrito receive status changes.Present the checkout
Store the returned
payment_id. Redirect the customer torediUrlfor the hosted checkout, or show the returned transfer details in your own interface. Respectexpired_at.Confirm the result
Verify callback signatures and read
Implement the callback →result.state. Onlycompletedrepresents a successful payin. Compare the settledamountwithinit_amountbefore reconciling.
An HTTP 200 from creation means the payment was created. Wait for its final payment state before crediting the customer.