A collection of key-value pairs that can be attached to an object for storing additional structured information. This is useful for capturing custom data or context-specific attributes.
Constraints:
Maximum of 50 key-value pairs allowed.
Each key must be no longer than 40 characters.
Each value must be a string and cannot exceed 500 characters.
Show child attributes
Example:
{
"orderId": "12345",
"customerNote": "Deliver after 5 PM"
}
The unique identifier for the customer, generated via the create-customer API. This can be used to associate the payment with a specific customer in your system.
URL to redirect your customer to xpay's secure link to complete any pending 3DS or next action steps. Present only when additional authentication is required.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"xPay","colors":{"primary":"#3bc2ff","light":"#3bc2ff","dark":"#0331ff"},"logo":{"light":"https://mintcdn.com/xpay/g26TzFabqZU05z4C/logo/light.svg?fit=max\u0026auto=format\u0026n=g26TzFabqZU05z4C\u0026q=85\u0026s=007fbae209bf88bae6f124ed06a79e04","dark":"https://mintcdn.com/xpay/g26TzFabqZU05z4C/logo/dark.svg?fit=max\u0026auto=format\u0026n=g26TzFabqZU05z4C\u0026q=85\u0026s=d445abb6483342208e929b08ec3a86b1","href":"https://xpaycheckout.com"},"favicon":"https://mintcdn.com/xpay/REkE_HjmjRViMmXV/favicon.png?fit=max\u0026auto=format\u0026n=REkE_HjmjRViMmXV\u0026q=85\u0026s=e98a1531e8c761f704c90cd01c2df5ff","api":{"mdx":{"auth":{"method":"basic","name":"[usernameName]:[passwordName]"},"server":"https://api.xpaycheckout.com"}},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"mailto:hello@xpaycheckout.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.xpaycheckout.com"}},"footer":{"socials":{"website":"https://www.xpaycheckout.com/","linkedin":"https://www.linkedin.com/company/xpay-checkout"}},"integrations":{"posthog":{"apiKey":"phc_7aJLSdii3o5FaFeGUyQGl2x4Hf8K133tfU4zkmuE3sY"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"xpay","hasAudioNarration":false,"actualSubdomain":"xpay","customDomains":["docs.xpaycheckout.com"],"gitSource":{"type":"github","owner":"xpay-technologies","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf0312808b7de58450a89b","collectionId":"167099e3-c643-4d27-8889-6b517b5adbf7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf0312808b7de58450a89b"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6adf0312808b7de58450a89b","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Developer Resources","count":80},{"language":"default","tag":"API References","count":36},{"language":"default","tag":"Webhooks","count":34},{"language":"default","tag":"Webhook Events","count":31},{"language":"default","tag":"Products","count":15},{"language":"default","tag":"Dashboard \u0026 Operations","count":12},{"language":"default","tag":"Intent Events","count":11},{"language":"default","tag":"Subscription Events","count":11},{"language":"default","tag":"Dispute Management","count":10},{"language":"default","tag":"Payments","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developer-resources/endpoints/payments/charge-raw-card","slug":"/developer-resources/endpoints/payments/charge-raw-card","pageMetadata":{"title":"Charge Raw Card","openapi":"POST /payments/s2s/charge-raw-card","description":null,"href":"/developer-resources/endpoints/payments/charge-raw-card"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(Note,{children:[_jsxs(_components.p,{children:[`Register the customer’s card. Please redirect to the `,_jsx(_components.code,{children:`nextActionRedirectURL`}),`, where the customer can complete the payment with a single click.`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Use this endpoint when you already gathered card details and consent within your PCI DSS compliant environment`}),`\n`,_jsxs(_components.li,{children:[`You must obtain explicit approval from `,_jsx(`a`,{href:`mailto:hello@xpaycheckout.com`,children:_jsx(_components.a,{href:`mailto:hello@xpaycheckout.com`,children:`hello@xpaycheckout.com`})}),` before using this API`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Charge Raw Card","openapi":"POST /payments/s2s/charge-raw-card","description":null,"href":"/developer-resources/endpoints/payments/charge-raw-card"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"parameters":["0172dbe1-0802-4c7e-85e0-6ed4cdaa633a"],"requestBody":"6683e6ba-bddd-42b3-9b27-0209a5a68928","responses":{"200":"a648942a-59fb-4c13-a679-78ae8fbc0535","400":"9ca39737-22a9-46fc-a62f-50e563c5e5a8"},"method":"post","type":"path","servers":["3326f4fb-4f32-40c7-8421-4cb311bc2da0"],"security":["ea68e7b4-b63a-4c0b-aef2-904d73dbf5f7"],"path":"/payments/s2s/charge-raw-card","baseUrlOptions":["https://api.xpaycheckout.com"],"title":"","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0172dbe1-0802-4c7e-85e0-6ed4cdaa633a":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[a-zA-Z0-9\\-_:\\.]+$","isRequired":false,"description":"A unique key for making the request idempotent. Must match pattern: `^[a-zA-Z0-9\\-_:\\.]+$`. See [Idempotent Requests](/developer-resources/idempotency) for more details.","uniqueKey":"","typeLabel":"string"},"description":"A unique key for making the request idempotent. Must match pattern: `^[a-zA-Z0-9\\-_:\\.]+$`. See [Idempotent Requests](/developer-resources/idempotency) for more details.","example":"KG5LxwFBepaKHyUD"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["amount","currency","cardDetails","callbackUrl"],"properties":{"amount":{"type":"integer","format":"int64","description":"The amount in lowest count unit. e.g.: For USD 1, amount is 100 representing 100 cents (The minimum amount should be greater than 1 USD)","example":2000,"isRequired":true,"uniqueKey":"amount","typeLabel":"integer\u003cint64>"},"currency":{"type":"string","description":"Three letter abbreviation of the currency. Refer [supported currencies](/get-started/currencies-supported)","example":"USD","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"cardDetails":{"description":"Payment card information collected by you","type":"object","properties":{"cardNumber":{"type":"string","description":"Full Primary Account Number (PAN)","example":"4000002500000003","isRequired":true,"uniqueKey":"cardDetails.cardNumber","typeLabel":"string"},"expiryMonth":{"type":"integer","minimum":1,"maximum":12,"description":"Card expiry month in MM format","example":1,"isRequired":true,"uniqueKey":"cardDetails.expiryMonth","typeLabel":"integer"},"expiryYear":{"type":"integer","description":"Card expiry year in YY format","example":28,"isRequired":true,"uniqueKey":"cardDetails.expiryYear","typeLabel":"integer"},"cvv":{"type":"string","description":"Card security code (CVV/CSC).","example":"123","isRequired":true,"uniqueKey":"cardDetails.cvv","typeLabel":"string"},"cardHolderName":{"type":"string","description":"Name of the cardholder","example":"John Doe","uniqueKey":"cardDetails.cardHolderName","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)) of the country where the card is registered.","example":"US","uniqueKey":"cardDetails.country","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal code of the location where the card is registered.","example":"2424","uniqueKey":"cardDetails.postalCode","typeLabel":"string"}},"required":["cardNumber","expiryMonth","expiryYear","cvv"],"isRequired":true,"uniqueKey":"cardDetails","typeLabel":"object"},"callbackUrl":{"description":"URL that the customer will be redirected to once the payment is processed in case 3ds authentication is required.","type":"string","example":"https://example.com/callback","isRequired":true,"uniqueKey":"callbackUrl","typeLabel":"string"},"receiptId":{"description":"Your identifier for the order","type":"string","example":"order123","uniqueKey":"receiptId","typeLabel":"string"},"metadata":{"type":"object","description":"A collection of key-value pairs that can be attached to an object for storing additional structured information. This is useful for capturing custom data or context-specific attributes.\n\nConstraints:\n- Maximum of 50 key-value pairs allowed.\n- Each key must be no longer than 40 characters.\n- Each value must be a string and cannot exceed 500 characters.","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"example":{"orderId":"12345","customerNote":"Deliver after 5 PM"},"uniqueKey":"metadata","typeLabel":"object"},"customerId":{"type":"string","description":"The unique identifier for the customer, generated via the [create-customer API](/developer-resources/endpoints/customer/create-customer). This can be used to associate the payment with a specific customer in your system.","example":"cus_Tfd3Jq1tZxPjYVhRQW2r3","uniqueKey":"customerId","typeLabel":"string"},"customerReferenceId":{"type":"string","description":"Your unique identifier for the customer. This can be used to associate the payment with a specific customer in your system.","example":"eTfd3Jq1tZxPjYVhRQW2r3","uniqueKey":"customerReferenceId","typeLabel":"string"},"customerDetails":{"type":"object","description":"Details of the customer. Required if `customerId` is not provided.","required":["name","email","contactNumber"],"properties":{"name":{"type":"string","description":"Customer's name","example":"John Doe","isRequired":true,"uniqueKey":"customerDetails.name","typeLabel":"string"},"email":{"type":"string","description":"Customer's email address","example":"john.doe@example.com","isRequired":true,"uniqueKey":"customerDetails.email","typeLabel":"string"},"contactNumber":{"type":"string","description":"Customer's contact number ([E.164 format](https://en.wikipedia.org/wiki/E.164)), including the country code (e.g., +1 for US, +44 for UK, +91 for India).","example":"+919123456789","isRequired":true,"uniqueKey":"customerDetails.contactNumber","typeLabel":"string"},"customerAddress":{"type":"object","properties":{"addressLine1":{"type":"string","description":"Line 1 of the customer's address","example":"123 Main St","uniqueKey":"customerDetails.customerAddress.addressLine1","typeLabel":"string"},"addressLine2":{"type":"string","description":"Line 2 of the customer's address","example":"Apt 1","uniqueKey":"customerDetails.customerAddress.addressLine2","typeLabel":"string"},"city":{"type":"string","description":"City of the customer's address","example":"New York","uniqueKey":"customerDetails.customerAddress.city","typeLabel":"string"},"state":{"type":"string","description":"State of the customer's address","example":"NY","uniqueKey":"customerDetails.customerAddress.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","example":"US","uniqueKey":"customerDetails.customerAddress.country","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal code","example":"2424","uniqueKey":"customerDetails.customerAddress.postalCode","typeLabel":"string"}},"uniqueKey":"customerDetails.customerAddress","typeLabel":"object"}},"uniqueKey":"customerDetails","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":2000,"currency":"USD","cardDetails":{"cardNumber":"4000002500000003","expiryMonth":1,"expiryYear":28,"cvv":"123","cardHolderName":"John Doe","country":"US","postalCode":"2424"},"callbackUrl":"https://example.com/callback","receiptId":"order123","metadata":{"orderId":"12345","customerNote":"Deliver after 5 PM"},"customerId":"cus_Tfd3Jq1tZxPjYVhRQW2r3","customerReferenceId":"eTfd3Jq1tZxPjYVhRQW2r3"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"a648942a-59fb-4c13-a679-78ae8fbc0535":{"description":"Charge raw card response","content":{"application/json":{"schema":{"type":"object","properties":{"intentId":{"type":"string","description":"Identifier of the payment intent created for this charge.","example":"in_gKAqR0DjLeOihdTE","isRequired":true,"uniqueKey":"intentId","typeLabel":"string"},"nextActionRedirectionURL":{"type":"string","description":"URL to redirect your customer to xpay's secure link to complete any pending 3DS or next action steps. Present only when additional authentication is required.","example":"https://pay.xpaycheckout.com/?id=67f53a6e2097773e4f0112c8","isRequired":true,"uniqueKey":"nextActionRedirectionURL","typeLabel":"string"},"errorCode":{"type":"string","description":"Machine readable failure reason when status is `FAILED`. [See all possible values here.](/products/one-time-payments/error-codes)","example":"insufficient_funds","uniqueKey":"errorCode","typeLabel":"string"}},"required":["intentId","nextActionRedirectionURL"],"uniqueKey":"","typeLabel":"object"},"examples":{"":{"title":"","value":{"nextActionRedirectionURL":"https://pay.xpaycheckout.com/?id=in_gKAqC775RFeXjkGM\u0026secret=7Cduomd3LDV6zimJC7vXwh","intentId":"in_gKAqB3B2aVbFEtbI"}}},"exampleType":"examples"}},"exampleType":"examples"},"9ca39737-22a9-46fc-a62f-50e563c5e5a8":{"description":"unexpected error","content":{"application/json":{"schema":{"required":["errorCode","errorDescription"],"type":"object","properties":{"errorCode":{"type":"string","example":"bad_request","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"errorDescription":{"type":"string","example":"Failed to read request","isRequired":true,"uniqueKey":"errorDescription","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"bad_request","errorDescription":"Failed to read request"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ea68e7b4-b63a-4c0b-aef2-904d73dbf5f7":{"basicAuth":{"type":"http","scheme":"basic","scopes":[]}}},"servers":{"3326f4fb-4f32-40c7-8421-4cb311bc2da0":{"url":"https://api.xpaycheckout.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"developer-resources/endpoints/openapi.json"},"subdomain":"xpay","siteName":"xPay","title":"Charge Raw Card - xPay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T08:56:45.154Z","originalFileLocation":"developer-resources/endpoints/payments/charge-raw-card.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"xPay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Charge Raw Card - xPay\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"xPay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://xpay.mintlify.app/_mintlify/api/og/v2?division=Payments\u0026amp;title=Charge+Raw+Card\u0026amp;theme=ec85a6ae573973953713558e\u0026amp;signature=70b05b23b606c09add030cc1ee0d9cbadf19f9f2b54c96782bdd98ed01e731b5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Charge Raw Card - xPay\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://xpay.mintlify.app/_mintlify/api/og/v2?division=Payments\u0026amp;title=Charge+Raw+Card\u0026amp;theme=ec85a6ae573973953713558e\u0026amp;signature=70b05b23b606c09add030cc1ee0d9cbadf19f9f2b54c96782bdd98ed01e731b5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/xpay/8HHwAkTUTKElZo4d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"xPay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3bc2ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer-resources/endpoints/payments/charge-raw-card.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.xpaycheckout.com/#organization\",\"name\":\"xPay\",\"url\":\"https://docs.xpaycheckout.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/xpay/g26TzFabqZU05z4C/logo/light.svg?fit=max\u0026auto=format\u0026n=g26TzFabqZU05z4C\u0026q=85\u0026s=007fbae209bf88bae6f124ed06a79e04\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.xpaycheckout.com#website\",\"name\":\"xPay\",\"url\":\"https://docs.xpaycheckout.com\",\"publisher\":{\"@id\":\"https://docs.xpaycheckout.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card#webpage\",\"url\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card\",\"name\":\"Charge Raw Card\",\"dateModified\":\"2026-10-16T08:56:45.154Z\",\"isPartOf\":{\"@id\":\"https://docs.xpaycheckout.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developer Resources\",\"item\":\"https://docs.xpaycheckout.com/developer-resources/getyourkeys\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API References\",\"item\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/create-intent\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Payments\",\"item\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/create-intent\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Charge Raw Card\",\"item\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card#apireference\",\"headline\":\"Charge Raw Card\",\"name\":\"Charge Raw Card\",\"url\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card\",\"mainEntityOfPage\":{\"@id\":\"https://docs.xpaycheckout.com/developer-resources/endpoints/payments/charge-raw-card#webpage\"},\"dateModified\":\"2026-10-16T08:56:45.154Z\",\"publisher\":{\"@id\":\"https://docs.xpaycheckout.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.xpaycheckout.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"xPay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"xPay","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/get-started/introduction"},{"title":"Onboarding","href":"/get-started/onboarding"},{"title":"Currencies Supported","href":"/get-started/currencies-supported"},{"title":"Payment Methods","href":"/get-started/payment-methods-supported"}]},{"group":"Products","pages":[{"group":"One Time Payments","pages":[{"title":"Overview","href":"/products/one-time-payments/overview"},{"title":"Integration Process","href":"/products/one-time-payments/integrationProcess"},{"title":"Payment Statuses","href":"/products/one-time-payments/payment-statuses"},{"title":"Error Codes","href":"/products/one-time-payments/error-codes"},{"title":"Saved Cards","href":"/products/one-time-payments/saved-cards"}]},{"group":"Subscription","pages":[{"title":"Overview","href":"/products/subscription/overview"},{"title":"Integration Process","href":"/products/subscription/integrationProcess"},{"title":"Subscription Statuses","href":"/products/subscription/subscription-statuses"},{"title":"Retry Mechanism","href":"/products/subscription/subscription-retry-mechanism"}]},{"title":"Payment Links","href":"/products/payment-links/payment-links"},{"group":"Setup Method","pages":[{"title":"Overview","href":"/products/setup-method/overview"},{"title":"Integration Process","href":"/products/setup-method/integrationProcess"}]},{"title":"Argus","href":"/products/argus/overview"},{"title":"Virtual Bank Accounts","href":"/products/virtual-bank-accounts/virtual-bank-accounts"},{"title":"Platform Connect","href":"/products/platform-connect/overview"}]},{"group":"Dashboard \u0026 Operations","pages":[{"title":"Team Roles \u0026 Permissions","href":"/dashboard-operations/team-roles-permissions"},{"title":"Payouts","href":"/dashboard-operations/payouts/payouts"},{"group":"Dispute Management","pages":[{"title":"Overview","href":"/dashboard-operations/dispute-management/dispute-management"},{"title":"How disputes work","href":"/dashboard-operations/dispute-management/how-disputes-work"},{"title":"Reason codes","href":"/dashboard-operations/dispute-management/reason-codes"},{"title":"Network code reference","href":"/dashboard-operations/dispute-management/network-code-reference"},{"title":"Responding by reason","href":"/dashboard-operations/dispute-management/responding-by-reason"},{"title":"Secondary evidence","href":"/dashboard-operations/dispute-management/secondary-evidence"},{"title":"Evidence guidelines","href":"/dashboard-operations/dispute-management/evidence-guidelines"},{"title":"Deadlines","href":"/dashboard-operations/dispute-management/deadlines"},{"title":"Reducing disputes","href":"/dashboard-operations/dispute-management/reducing-disputes"},{"title":"Dispute FAQ","href":"/dashboard-operations/dispute-management/faq"}]}]},{"group":"Developer Resources","pages":[{"title":"Get Started","href":"/developer-resources/getyourkeys"},{"title":"Authentication","href":"/developer-resources/authentication"},{"title":"Rate Limits","href":"/developer-resources/rate-limits"},{"title":"Idempotent Requests","href":"/developer-resources/idempotency"},{"title":"Errors","href":"/developer-resources/errors"},{"group":"API References","pages":[{"group":"Payments","pages":[{"title":"Create Intent","openapi":"POST /payments/create-intent","href":"/developer-resources/endpoints/payments/create-intent"},{"title":"Capture Payment","openapi":"POST /payments/capture-payment","href":"/developer-resources/endpoints/payments/capture-payment"},{"title":"Get Intent","openapi":"GET /payments/v2/get-intent/{xIntentId}","href":"/developer-resources/endpoints/payments/get-intent"},{"title":"Refund","openapi":"POST /payments/merchant/refund","href":"/developer-resources/endpoints/payments/refund"},{"title":"Cancel Payment","openapi":"POST /payments/cancel/{xIntentId}","href":"/developer-resources/endpoints/payments/cancel-payment"},{"title":"List Intents","openapi":"GET /payments/intents","description":"Retrieve a list of payment intents created within a specific time range, with support for filtering and pagination. This endpoint allows you to track and analyse all payment attempts for your account. It's useful for building dashboards, reconciling payments, or reviewing recent transactions programmatically.","href":"/developer-resources/endpoints/payments/list-intents"},{"title":"Charge Raw Card","openapi":"POST /payments/s2s/charge-raw-card","href":"/developer-resources/endpoints/payments/charge-raw-card"},{"title":"Get Refunds of an Intent","openapi":"GET /payments/refunds/{intentId}","description":"Retrieve a list of refunds for a specific payment intent","href":"/developer-resources/endpoints/payments/get-refunds-for-intent"},{"title":"Get Refund","openapi":"GET /payments/refund/{refundId}","href":"/developer-resources/endpoints/payments/get-refund"}]},{"group":"Subscriptions","pages":[{"title":"Create Subscription","openapi":"POST /subscription/create","href":"/developer-resources/endpoints/subscriptions/create-subscription"},{"title":"Get Subscription","openapi":"GET /subscription/get-subscription/{subscriptionId}","href":"/developer-resources/endpoints/subscriptions/get-subscription"},{"title":"Edit Subscription","openapi":"POST /subscription/edit","href":"/developer-resources/endpoints/subscriptions/edit-subscription"},{"title":"One Time Charge","openapi":"POST /subscription/merchant/one-time-charge","href":"/developer-resources/endpoints/subscriptions/one-time-charge"},{"title":"Manual Retry","openapi":"POST /subscription/manual-retry","href":"/developer-resources/endpoints/subscriptions/manual-retry"},{"title":"Pause Subscription","openapi":"POST /subscription/merchant/pause","href":"/developer-resources/endpoints/subscriptions/pause"},{"title":"Unpause Subscription","openapi":"POST /subscription/merchant/unpause","href":"/developer-resources/endpoints/subscriptions/unpause"},{"title":"Cancel Subscription","openapi":"POST /subscription/merchant/cancel","href":"/developer-resources/endpoints/subscriptions/cancel"}]},{"group":"Payment Links","pages":[{"title":"Payments Links","openapi":"POST /link/merchant/generate-link","href":"/developer-resources/endpoints/payment-links/generate-link"},{"title":"Subscription Link","openapi":"POST /subscription/link/merchant/generate-link","href":"/developer-resources/endpoints/payment-links/subscription-link"}]},{"group":"Customer","pages":[{"title":"Create Customer","openapi":"POST /customer/create","href":"/developer-resources/endpoints/customer/create-customer"},{"title":"Get Customer","openapi":"GET /customer/{customerId}","href":"/developer-resources/endpoints/customer/get-customer"},{"title":"List Payment Method Tokens","openapi":"GET /customer/{customerId}/payment-method-tokens","href":"/developer-resources/endpoints/customer/get-pm-tokens-for-customer"}]},{"group":"Setup Method","pages":[{"title":"Create Setup Method","openapi":"POST /setup-method/create","href":"/developer-resources/endpoints/setup-method/create-setup-method"},{"title":"Create S2S Setup Method","openapi":"POST /setup-method/s2s/create","href":"/developer-resources/endpoints/setup-method/create-s2s-setup-method"},{"title":"Get Setup Method","openapi":"GET /setup-method/{setupMethodId}","href":"/developer-resources/endpoints/setup-method/get-setup-method"},{"title":"Charge Tokenised PM","openapi":"POST /payments/charge-tokenised-pm","href":"/developer-resources/endpoints/setup-method/charge-tokenised-pm"},{"title":"Get Payment Method Token","openapi":"GET /payment-method-token/{paymentMethodTokenId}","href":"/developer-resources/endpoints/setup-method/get-payment-method-token"},{"title":"Delete Tokenised Payment Method","openapi":"POST /payment-method-token/delete","href":"/developer-resources/endpoints/setup-method/delete-tokenised-pm"}]},{"group":"Payouts","pages":[{"title":"Get Payout","openapi":"GET /balance/payouts/{payoutId}","href":"/developer-resources/endpoints/payouts/get-payout"},{"title":"List Payouts","openapi":"GET /balance/payouts","href":"/developer-resources/endpoints/payouts/list-payouts"}]},{"group":"Webhook Configuration","pages":[{"title":"Create a Webhook Configuration","openapi":"POST /webhook","href":"/developer-resources/endpoints/webhooks/create-webhook"},{"title":"List Webhook Configurations","openapi":"GET /webhook","href":"/developer-resources/endpoints/webhooks/get-webhooks"},{"title":"Get Webhook Configuration","openapi":"GET /webhook/{webhookConfigId}","href":"/developer-resources/endpoints/webhooks/get-webhook-by-id"},{"title":"Edit Webhook Configuration","openapi":"PUT /webhook/{webhookConfigId}","href":"/developer-resources/endpoints/webhooks/edit-webhook"},{"title":"Delete Webhook Configuration","openapi":"DELETE /webhook/{webhookConfigId}","href":"/developer-resources/endpoints/webhooks/delete-webhook"}]},{"group":"Argus","pages":[{"title":"Block Fingerprint by Intent","openapi":"POST /argus/block-fingerprint-by-intent","href":"/developer-resources/endpoints/argus/block-fingerprint-by-intent"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks Introduction","href":"/developer-resources/webhooks/introduction"},{"title":"Webhook Verification","href":"/developer-resources/webhooks/verification"},{"title":"Webhook Events Directory","href":"/developer-resources/webhooks/events-list"},{"group":"Webhook Events","pages":[{"group":"Intent Events","pages":[{"title":"Created","href":"/developer-resources/webhooks/events/intentEvents/created"},{"title":"Checkout Opened","href":"/developer-resources/webhooks/events/intentEvents/checkout_opened"},{"title":"Authorized","href":"/developer-resources/webhooks/events/intentEvents/authorized"},{"title":"Success","href":"/developer-resources/webhooks/events/intentEvents/success"},{"title":"Failed","href":"/developer-resources/webhooks/events/intentEvents/failed"},{"title":"Refunded","href":"/developer-resources/webhooks/events/intentEvents/refunded"},{"title":"Disputed","href":"/developer-resources/webhooks/events/intentEvents/disputed"},{"title":"Dispute Under Review","href":"/developer-resources/webhooks/events/intentEvents/dispute_under_review"},{"title":"Dispute Won","href":"/developer-resources/webhooks/events/intentEvents/disputedWon"},{"title":"Dispute Lost","href":"/developer-resources/webhooks/events/intentEvents/dispute_lost"},{"title":"Early Fraud Warning","href":"/developer-resources/webhooks/events/intentEvents/early_fraud_warning"}]},{"group":"Subscription Events","pages":[{"title":"Created","href":"/developer-resources/webhooks/events/subsEvents/created"},{"title":"Checkout Opened","href":"/developer-resources/webhooks/events/subsEvents/checkout_opened"},{"title":"Trialing","href":"/developer-resources/webhooks/events/subsEvents/trialing"},{"title":"Active","href":"/developer-resources/webhooks/events/subsEvents/active"},{"title":"Paused","href":"/developer-resources/webhooks/events/subsEvents/paused"},{"title":"Unpaused","href":"/developer-resources/webhooks/events/subsEvents/unpaused"},{"title":"Cycle Charged","href":"/developer-resources/webhooks/events/subsEvents/cycle_charged"},{"title":"Unpaid","href":"/developer-resources/webhooks/events/subsEvents/unpaid"},{"title":"Payment Method Updated","href":"/developer-resources/webhooks/events/subsEvents/payment_method_updated"},{"title":"Ended","href":"/developer-resources/webhooks/events/subsEvents/ended"},{"title":"Cancelled","href":"/developer-resources/webhooks/events/subsEvents/cancelled"}]},{"group":"Setup Method Events","pages":[{"title":"Setup Method Created","href":"/developer-resources/webhooks/events/setupMethodEvents/created"},{"title":"Setup Method Checkout Opened","href":"/developer-resources/webhooks/events/setupMethodEvents/checkout_opened"},{"title":"Setup Method Success","href":"/developer-resources/webhooks/events/setupMethodEvents/success"},{"title":"Setup Method Failed","href":"/developer-resources/webhooks/events/setupMethodEvents/failed"},{"title":"Payment Method Token Created","href":"/developer-resources/webhooks/events/setupMethodEvents/payment_method_token_created"},{"title":"Payment Method Token Deleted","href":"/developer-resources/webhooks/events/setupMethodEvents/payment_method_token_deleted"}]},{"group":"Payout Events","pages":[{"title":"Payout Initiated","href":"/developer-resources/webhooks/events/payoutEvents/initiated"},{"title":"Payout Success","href":"/developer-resources/webhooks/events/payoutEvents/success"}]},{"group":"Virtual Bank Account Events","pages":[{"title":"Virtual Bank Account Transaction","href":"/developer-resources/webhooks/events/vbaEvents/transaction"}]}]}]},{"title":null,"href":"/developer-resources/pagination"},{"group":"Sandbox","pages":[{"title":"Sandbox Environment","href":"/developer-resources/sandbox/sandbox"},{"title":"Payment Test Simulation","href":"/developer-resources/sandbox/payment-test-simulation"}]},{"title":"Mobile App Integration","href":"/developer-resources/mobileIntegration"},{"title":"Iframe Guidelines","href":"/developer-resources/iframeGuidelines"}]},{"group":"FAQs","pages":[{"title":"Frequently Asked Questions","href":"/faqs/overall-faq"},{"title":"xPay Card Installments","href":"/faqs/x-pay-card-installments"},{"title":"Klarna FAQs for Merchants","href":"/faqs/klarna-overview"},{"title":"Prohibited Activities / Businesses","href":"/faqs/prohibited-businesses"}]}]},"basePath":"","title":"Charge Raw Card - xPay","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}