{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Order Status","type":"basic","slug":"order-statuses","excerpt":"","body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Status\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"new\",\n    \"0-1\": \"Newly created invoice. The shopper has not yet selected payment currency.\",\n    \"2-0\": \"confirming\",\n    \"2-1\": \"Shopper transferred the payment for the invoice. Awaiting blockchain network confirmation.\",\n    \"3-0\": \"paid\",\n    \"3-1\": \"Payment is confirmed by the network, and has been credited to the merchant. Purchased goods/services can be safely delivered to the shopper.\",\n    \"4-0\": \"invalid\",\n    \"4-1\": \"Payment rejected by the network or did not confirm within 7 days.\",\n    \"5-0\": \"expired\",\n    \"5-1\": \"Shopper did not pay within the required time (default: 20 minutes) and the invoice expired.\",\n    \"6-0\": \"canceled\",\n    \"6-1\": \"Shopper canceled the invoice.\",\n    \"7-0\": \"refunded\",\n    \"7-1\": \"Payment was refunded to the shopper.\",\n    \"1-0\": \"pending\",\n    \"1-1\": \"Shopper selected payment currency. Awaiting payment.\"\n  },\n  \"cols\": 2,\n  \"rows\": 8\n}\n[/block]\n**Statuses by priority:**\n1. new\n2. pending\n3. confirming\\*\n4a. expired OR canceled\\*\\*\n4b. paid OR invalid\n5. refunded\n\n\\*The \"confirming\" status is sometimes skipped and \"paid\" or \"invalid\" status is sent instead.\n\\*\\*The \"expired\" or \"canceled\" status is sometimes changed to \"paid\" if the payment arrived after the invoice has expired / was canceled.","updates":["57a7d1073754050e0053cbc0","5b4686973d4a9e00037890f6","5b589c8658555d0003a9f520"],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5adcc1185cd1890003da8173","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Payment Gateway","slug":"orders","order":2,"from_sync":false,"reference":false,"_id":"5adcc1185cd1890003da8167","version":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","createdAt":"2015-08-18T18:14:59.726Z","__v":1},"project":"5530bfac57cea10d00a3aa3b","user":"5530bf7457cea10d00a3aa3a","parentDoc":null,"version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9","5adfb8e9452bd900036d115b","5e7b51281ac49702d745882c","5e7b526560c6cc004f25ca3e"],"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","__v":5},"createdAt":"2015-08-18T19:15:47.031Z","githubsync":"","__v":2}
[block:parameters] { "data": { "h-0": "Status", "h-1": "Description", "0-0": "new", "0-1": "Newly created invoice. The shopper has not yet selected payment currency.", "2-0": "confirming", "2-1": "Shopper transferred the payment for the invoice. Awaiting blockchain network confirmation.", "3-0": "paid", "3-1": "Payment is confirmed by the network, and has been credited to the merchant. Purchased goods/services can be safely delivered to the shopper.", "4-0": "invalid", "4-1": "Payment rejected by the network or did not confirm within 7 days.", "5-0": "expired", "5-1": "Shopper did not pay within the required time (default: 20 minutes) and the invoice expired.", "6-0": "canceled", "6-1": "Shopper canceled the invoice.", "7-0": "refunded", "7-1": "Payment was refunded to the shopper.", "1-0": "pending", "1-1": "Shopper selected payment currency. Awaiting payment." }, "cols": 2, "rows": 8 } [/block] **Statuses by priority:** 1. new 2. pending 3. confirming\* 4a. expired OR canceled\*\* 4b. paid OR invalid 5. refunded \*The "confirming" status is sometimes skipped and "paid" or "invalid" status is sent instead. \*\*The "expired" or "canceled" status is sometimes changed to "paid" if the payment arrived after the invoice has expired / was canceled.