PageSourceSearch

https://docs.monei.com/assets/js/02d451c5.25a42e20.js

js monei.com collected 2026-09-24 08:32:31 UTC 8,647 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmonei_docs=self.webpackChunkmonei_docs||[]).push([["24820"],{96615(e,n,t){t.r(n),t.d(n,{metadata:()=>r,default:()=>h,frontMatter:()=>i,contentTitle:()=>c,toc:()=>l,assets:()=>a});var r=JSON.parse('{"id":"hotels/channex","title":"Channex","description":"Tokenize payment cards from Channex hotel reservations using the MONEI API.","source":"@site/docs/hotels/channex.mdx","sourceDirName":"hotels","slug":"/hotels/channex","permalink":"/hotels/channex","draft":false,"unlisted":false,"tags":[{"inline":false,"label":"Hotels","permalink":"/tags/hotels"},{"inline":false,"label":"Tokenization","permalink":"/tags/tokenization"},{"inline":false,"label":"REST API","permalink":"/tags/rest-api"},{"inline":false,"label":"Cards","permalink":"/tags/card"}],"version":"current","lastUpdatedAt":1785953815000,"frontMatter":{"id":"channex","title":"Channex","description":"Tokenize payment cards from Channex hotel reservations using the MONEI API.","tags":["hotels","tokenization","rest-api","card"]},"sidebar":"docs","previous":{"title":"Overview","permalink":"/hotels/overview"},"next":{"title":"Siteminder","permalink":"/hotels/siteminder"}}'),s=t(91987),d=t(39844);let i={id:"channex",title:"Channex",description:"Tokenize payment cards from Channex hotel reservations using the MONEI API.",tags:["hotels","tokenization","rest-api","card"]},c="Channex",a={},l=[{value:"Request",id:"request",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Response",id:"response",level:2},{value:"Response Fields",id:"response-fields",level:3}];function o(e){let n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components},{Term:t}=n;return t||function(e,n){throw Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Term",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"channex",children:"Channex"})}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"https://channex.io/",children:"Channex"})," is a ",(0,s.jsx)(t,{id:"channel-manager",children:"channel management system"})," that integrates with the same MONEI ",(0,s.jsx)(t,{id:"tokenization",children:"tokenization"})," endpoint. Unlike Siteminder, Channex returns a JSON response with the booking data and MONEI ",(0,s.jsx)(t,{id:"payment-token",children:"payment tokens"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"request",children:"Request"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Endpoint:"})," ",(0,s.jsx)(n.code,{children:"POST https://api.monei.com/v1/partner/tokens"})]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-json",children:'{\n  "accountId": "<monei_account_id>",\n  "sessionId": "<uuid4>",\n  "channelManagerType": "CHANNEX",\n  "channexId": "<your_channex_api_key>",\n  "propertyId": "<property_id>"\n}\n'})}),"\n",(0,s.jsx)(n.h3,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Parameter"}),(0,s.jsx)(n.th,{children:"Type"}),(0,s.jsx)(n.th,{children:"Required"}),(0,s.jsx)(n.th,{children:"Description"})]})}),(0,s.jsxs)(n.tbody,{children:[(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"accountId"})}),(0,s.jsx)(n.td,{children:"String"}),(0,s.jsx)(n.td,{children:"Yes"}),(0,s.jsx)(n.td,{children:"Your MONEI account ID (UUID) \u2014 the account the payment will be transferred to"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"sessionId"})}),(0,s.jsx)(n.td,{children:"String"}),(0,s.jsx)(n.td,{children:"Yes"}),(0,s.jsx)(n.td,{children:"UUID identifying the session"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"channelManagerType"})}),(0,s.jsx)(n.td,{children:"String"}),(0,s.jsx)(n.td,{children:"Yes"}),(0,s.jsxs)(n.td,{children:["Must be ",(0,s.jsx)(n.code,{children:"CHANNEX"})]})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"channexId"})}),(0,s.jsx)(n.td,{children:"String"}),(0,s.jsx)(n.td,{children:"Yes"}),(0,s.jsxs)(n.td,{children:["Your ",(0,s.jsx)(n.a,{href:"https://docs.channex.io/application-documentation/api-key-access",children:"Channex API key"})]})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"propertyId"})}),(0,s.jsx)(n.td,{children:"String"}),(0,s.jsx)(n.td,{children:"No"}),(0,s.jsxs)(n.td,{children:["Filter by property ID. If omitted, returns all ",(0,s.jsx)(n.a,{href:"https://docs.channex.io/api-v.1-documentation/bookings-collection#booking-revisions-feed",children:"Booking Revision Feed"})," entries."]})]})]})]}),"\n",(0,s.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-json",children:'[\n  {\n    "paymentToken": "b27b97a729ab9cefa8765eccf25d636b13f887cc",\n    "expireAt": 2678401,\n    "paymentMethod": {\n      "method": "card",\n      "card": {\n        "country": "US",\n        "last4": "8164",\n        "bank": "Wex Bank",\n        "bin": "534633
106",\n        "cardholderName": "Joan Sanfeliu",\n        "expiration": 1767225600,\n        "type": "credit",\n        "brand": "mastercard"\n      }\n    },\n    "attributes": {\n      "id": "cbc57822-912c-4663-a9e5-3930b7539958",\n      "meta": {\n        "ruid": "Ykc2RlIyh9YUA66gHNu0pFCmOkmrTcr9qWngFe1gY4xjUlSmD+RVGXDjWrLMNL75u7DwI7i7eM9Vu047Nzj/TuNw+WkXmHOFc="\n      },\n      "status": "new",\n      "currency": "GBP",\n      "amount": "615.00"\n    }\n  }\n]\n'})}),"\n",(0,s.jsx)(n.h3,{id:"response-fields",children:"Response Fields"}),"\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Field"}),(0,s.jsx)(n.th,{children:"Description"})]})}),(0,s.jsxs)(n.tbody,{children:[(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentToken"})}),(0,s.jsxs)(n.td,{children:["MONEI token for the booking's card. Use in ",(0,s.jsx)(n.a,{href:"/apis/rest/payments-create",children:"payment creation"})," instead of raw card data."]})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"expireAt"})}),(0,s.jsx)(n.td,{children:"Token expiration (Unix timestamp)"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.country"})}),(0,s.jsx)(n.td,{children:"Card issuing country"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.last4"})}),(0,s.jsx)(n.td,{children:"Last four digits of the card number"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.bank"})}),(0,s.jsx)(n.td,{children:"Issuing bank name"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.bin"})}),(0,s.jsx)(n.td,{children:"Bank identification number"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.cardholderName"})}),(0,s.jsx)(n.td,{children:"Name of the cardholder"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.expiration"})}),(0,s.jsx)(n.td,{children:"Card expiration date (Unix timestamp)"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.type"})}),(0,s.jsxs)(n.td,{children:["Card type (e.g. ",(0,s.jsx)(n.code,{children:"credit"}),", ",(0,s.jsx)(n.code,{children:"debit"}),")"]})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"paymentMethod.card.brand"})}),(0,s.jsxs)(n.td,{children:["Card network (e.g. ",(0,s.jsx)(n.code,{children:"mastercard"}),", ",(0,s.jsx)(n.code,{children:"visa"}),")"]})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"attributes"})}),(0,s.jsx)(n.td,{children:"Full Channex booking data (without exposed card numbers)"})]})]})]})]})}function h(e={}){let{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},39844(e,n,t){t.d(n,{R:()=>i,x:()=>c});var r=t(71763);let s={},d=r.createContext(s);function i(e){let n=r.useContext(d);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.