{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-apis/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Payment Page (Legacy): pay-in flow","siteUrl":"https://docs.omno.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"payment-page-legacy-pay-in-flow","__idx":0},"children":["Payment Page (Legacy): pay-in flow"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["⛔ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Legacy — not supported for new integrations."]}," See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/payment-page-legacy/notice"},"children":["notice"]},". The replacement is ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/cashier/single-payment"},"children":["Cashier Single Payment — Card"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"steps","__idx":1},"children":["Steps"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-create-the-pay-in","__idx":2},"children":["1. Create the pay-in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/public/payin"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["returnUrls"]}," (and no ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["directRouteId"]},")."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.omno.com/v3/public/payin\" \\\n  -H \"Authorization: Bearer <access_token>\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"orderId\": \"order-2026-000201\",\n    \"amount\": 100.00,\n    \"currency\": \"EUR\",\n    \"kycVerified\": true,\n    \"previousTransactionCount\": 5,\n    \"customer\": {\n      \"externalUserId\": \"3183818381183\",\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"email\": \"john.doe@example.com\",\n      \"phoneNumber\": \"1 1234567890\",\n      \"dateOfBirth\": \"1990-12-01\",\n      \"billing\": {\n        \"address\": \"123 Main St\",\n        \"city\": \"Atlanta\",\n        \"state\": \"GA\",\n        \"countryCode\": \"US\",\n        \"postalCode\": \"30308\"\n      }\n    },\n    \"returnUrls\": {\n      \"success\": \"https://merchant.example.com/success\",\n      \"failure\": \"https://merchant.example.com/failure\"\n    }\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"paymentId\": \"944732c4608c441aa91379478b91f76e\",\n  \"status\": \"CREATED\",\n  \"iframeUrls\": {\n    \"card\": \"https://checkout.omno.com/payments/payin/944732c4608c441aa91379478b91f76e/card\",\n    \"apm\": \"https://checkout.omno.com/payments/payin/944732c4608c441aa91379478b91f76e/apm\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-load-the-iframe-url","__idx":3},"children":["2. Load the iframe URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Load ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iframeUrls.card"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iframeUrls.apm"]}," from the response, depending on the payment method."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-customer-pays-and-is-redirected","__idx":4},"children":["3. Customer pays and is redirected"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The customer completes payment and is redirected to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["returnUrls.success"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["returnUrls.failure"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-final-status","__idx":5},"children":["4. Final status"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Determine the outcome from a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/concepts/webhooks"},"children":["webhook"]}," or a GET on the transaction."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ℹ️ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," A redirect to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["success"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failure"]}," does ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," confirm the final status. Only a webhook or a GET on the transaction is authoritative."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"failure-states","__idx":6},"children":["Failure states"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Decline"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DECLINED"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PSP failure"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeout"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TIMEOUT"]},"; may resolve later."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Customer abandons"]}," — no completion; reconcile via a GET."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pending resolving asynchronously"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING_3DS"]},"; final status via webhook."]}]}]},"headings":[{"value":"Payment Page (Legacy): pay-in flow","id":"payment-page-legacy-pay-in-flow","depth":1},{"value":"Steps","id":"steps","depth":2},{"value":"1. Create the pay-in","id":"1-create-the-pay-in","depth":3},{"value":"2. Load the iframe URL","id":"2-load-the-iframe-url","depth":3},{"value":"3. Customer pays and is redirected","id":"3-customer-pays-and-is-redirected","depth":3},{"value":"4. Final status","id":"4-final-status","depth":3},{"value":"Failure states","id":"failure-states","depth":2}],"frontmatter":{"title":"Payment Page (Legacy): pay-in flow","description":"The legacy Omno Payment Page pay-in flow on v3, for existing integrations only — create a pay-in, load the iframe URL, reconcile by webhook. Replaced by Cashier Single Payment — Card.","seo":{"title":"Payment Page (Legacy): pay-in flow"}},"lastModified":"2026-11-06T11:46:00.424Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/payment-page-legacy/pay-in-flow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}