Empty response body.Authentication failed: the API key, session token or access token is missing or was not accepted.See "Authentication and Permission Failures" on the Error Handling page.
Payment Gateway
Process Transaction
Process a payment gateway transaction using a stored card token.
Empty response body.Authentication failed: the API key, session token or access token is missing or was not accepted.See "Authentication and Permission Failures" on the Error Handling page.
Processing Charges Guide
Process payments using stored tokens
PCI Booking retrieves the real card data from the token, constructs a PSP-specific request, sends it to your configured payment gateway, and returns the gateway’s response.
Some payment gateways have additional requirements. Review the gateway-specific guidance before sending your first transaction.
Each condition below gives the exact moreInfo text, why it happens and how to resolve it. The full set is on the Error Handling page.
-125 Bad input data - request object could not be parsed
HTTP status:400message:Bad input datamoreInfo:
Request object could not be parsed
Reason. The body could not be deserialised into the object the endpoint expects, so no field level validation ran. A single malformed field or a wrong container type is enough.How to resolve.
Validate the body against the endpoint’s schema before sending.
Check for a value sent as the wrong type, most often a number sent as a string or an object sent where an array is expected.
Check Content-Type matches the body format.
-125 Bad input data - card or token missing from the request
HTTP status:400message:Bad input datamoreInfo:
Missing Card objectMissing CardToken propertyBad or Missing CardToken property
Reason. The transaction carried no card to charge. Either the card object is absent, or the CardToken property is missing or not a readable token URI.How to resolve.
Send exactly one of a card object or a CardToken, as the endpoint requires.
Pass the full token URI, not the bare 32-hex token, unless the endpoint documents otherwise.
Check the property name and its capitalisation against the endpoint reference.
-125 Bad input data - required transaction field missing
Reason. A field the operation cannot run without was absent. Which field is required depends on the operation: a capture or refund needs the GatewayReference of the original authorisation, and an amount is required wherever money moves.How to resolve.
Add the field named in moreInfo.
For a capture, refund or void, send the GatewayReference returned by the original transaction rather than your own reference.
Send the amount in the units the gateway expects, and check whether it takes minor units.
-125 Bad input data - client certificate unavailable
HTTP status:400message:Bad input datamoreInfo:
Cannot obtain client certificate
Reason. The profile or gateway configuration names a client certificate for mutual TLS, but it could not be loaded. This is a configuration problem on the account, not a fault in your request.How to resolve.
Check the certificate is uploaded against the account and the profile names it exactly.
Check the certificate has not expired.
Contact support with the profile name if both look correct. Certificate installation is done on the PCI Booking side.
-1003 You are not authorized to access this resource - token does not exist, was deleted, or is not yours
HTTP status:401message:You are not authorized to access this resource. Please contact customer support.moreInfo: one of the following, depending on which check failed:
User is not the owner of this bank cardMerchant or Owner are not associated with bank card [<token>] userID: <userId>User <userId> is not associated with bank card [<token>]User <userId> cannot delegate token <token> - not owner and lacks delegation rightsUser is not authorized to handle bank cards
Reason. The credential authenticated fine, but it cannot act on the token in the request. Either the token does not exist or it is not yours to use. The generic wording makes this the single most misread error in the API. On a token call it is far more often one of the causes below than an actual permissions problem.How to resolve.
Check the token still exists. This is the most common cause. On every token endpoint except Delete Token, a token that does not exist or was deleted returns this error, the same as a token that belongs to another account. See Token Not Found or Not Accessible.
Check the tokenization actually succeeded. If the call that should have created the token failed, the token never existed, and calls that use it report -1003.
Check the environment. A sandbox token cannot be used from production, or the reverse.
Check ownership and association. See the rules below.
Ownership and association.A token is owned by the account that created it. Another account can use the token only if the token was explicitly associated with it:
At tokenization, by passing merchantId on the tokenizing call.
After tokenization, by associating the token with the merchant.
Two rules catch people out:
An association can only target a primary account. If you pass the ID of a sub-user or a secondary property, the request is rejected and you must associate the token with the parent account instead.
Tokens never cross environments. A token created in sandbox cannot be used from production, and the reverse is also true.
Account level blocks.An account that has exceeded its processing allowance is blocked, and every billable API call from it then fails with HTTP 403 and code -1003, even though the credentials are still valid and can still sign in to the portal. In this response message is empty (null) and moreInfo holds only the generic -1003 text, so nothing in the body explains the block. The 403 status is what tells it apart from a token that is not accessible, which returns 401.This is a common cause on sandbox accounts, which have a lower allowance than production.Check for it when a 403 with -1003 appears suddenly across calls that used to work, on more than one token. A block affects every billable call on the account at once, whereas a genuine ownership problem affects only the specific token. Contact support with your account name to have the allowance reviewed and the block lifted. The block stays until support lifts it.
The whole request, including the time the payment gateway takes to answer, must complete within 29 seconds. If it does not, you receive HTTP 504. A 504 is an unknown result, not a failure: the gateway may still have processed the transaction. Before you retry, check the transaction in your gateway’s portal, using the myRef you sent. If your gateway regularly takes longer than 29 seconds, contact support@pcibooking.net for an alternative setup.
OperationType: Must be one of Charge, PreAuth, Capture, Void, Refund, Tokenize.
Amount: Required for all operations except Void and Tokenize.
GatewayReference: Required for Refund operations.
cardToken: Required when the operation needs card data and no GatewayToken is provided. Must be a valid PCI Booking token URI containing a 32-character hex token.
credentialsId or PaymentGateway object: One must be provided. If using credentialsId, the credentials must already be stored. If you send credentialsId and a PaymentGateway object, the stored credentials are used in full and the object in the body is ignored. The two are not merged, and no error is returned. To vary a value per transaction, use the Parameters object rather than partial credentials.
The transaction ID of a prior operation. Required for Capture (reference the PreAuth), Refund (reference the Charge or Capture), and Void (reference the operation to void).
Whether to include the token’s stored 3DS authentication data (if any) in the request to the PSP, for PSPs that support it - see 3D Secure and the UPG. This does not trigger a new 3DS challenge; it only controls whether existing 3DS data on the token is forwarded. Set to false to charge without forwarding 3DS data even if the token has it.
Gateway-specific parameters as key-value pairs. These are passed through to the payment gateway. See gateway guidance for supported parameters per gateway.
Backup payment gateway accounts for a charge. If the charge does not succeed at the primary gateway, PCI Booking tries each fallback in order and stops at the first success. Used for charges only, and not after the decline reasons CardExpired, Fraud, LostOrStolenCard or InsufficientFunds. A fallback account that cannot be loaded is skipped. See Fallback Payment Gateways.
The response is the result of the operation at the payment gateway. Field names are in PascalCase and status values are sent as strings. Which fields are filled, and the values in the Gateway fields, depend on the payment gateway. For example, some gateways do not return an authorization code, and on a declined operation some do not return the amount, currency or gateway reference. The examples below come from a Stripe charge.
A standardized reason for a declined or failed operation, the same for every payment gateway. Not included when the operation succeeds. See Reject Reason Codes below.
Empty response body.Authentication failed: the API key, session token or access token is missing or was not accepted.See "Authentication and Permission Failures" on the Error Handling page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PCI Booking","description":"PCI Booking developer documentation","colors":{"primary":"#333333","light":"#fdb913","dark":"#333333"},"logo":{"light":"https://mintcdn.com/pcibooking/pMOWAlxYaLwyZe8N/logo/light.png?fit=max\u0026auto=format\u0026n=pMOWAlxYaLwyZe8N\u0026q=85\u0026s=05d07ed84fd562e4e5546e37f9891791","dark":"https://mintcdn.com/pcibooking/pMOWAlxYaLwyZe8N/logo/dark.png?fit=max\u0026auto=format\u0026n=pMOWAlxYaLwyZe8N\u0026q=85\u0026s=ff2f5c1a9a50078122add6cfe988e7e6"},"favicon":"https://mintcdn.com/pcibooking/pMOWAlxYaLwyZe8N/favicon.png?fit=max\u0026auto=format\u0026n=pMOWAlxYaLwyZe8N\u0026q=85\u0026s=68a2fe8e8c34b1602641223b67d76982","api":{"mdx":{"auth":{"method":"key","name":"Authorization"},"server":"https://service.pcibooking.net"}},"navbar":{"links":[{"href":"https://pcibooking.net","label":"Home"},{"href":"https://pcibooking.net/pci-booking-support/","label":"Support"},{"href":"/reference/glossary","label":"Glossary"}],"primary":{"type":"button","label":"Get a Sandbox","href":"https://pcibooking.net/sandbox/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/pci-booking"}},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode","mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Support","icon":"envelope","href":"https://pcibooking.net/contact"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pcibooking","hasAudioNarration":false,"actualSubdomain":"pcibooking","customDomains":["developers.pcibooking.net"],"gitSource":{"type":"github","owner":"pci-booking","repo":"documentation","deployBranch":"migrate-from-readme","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad97c97a2da3c7e08a20d49","collectionId":"1b853082-5d09-4ac3-b1c0-eb679f681f76","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad97c97a2da3c7e08a20d49"},"entitlements":{},"buildId":"6ad97c97a2da3c7e08a20d49","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Guides","count":95},{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"Capture Cards","count":35},{"language":"default","tag":"Manage Tokens","count":29},{"language":"default","tag":"Use Tokens","count":27},{"language":"default","tag":"Additional Functions","count":22},{"language":"default","tag":"Account Configuration","count":21},{"language":"default","tag":"Reference","count":12},{"language":"default","tag":"Query \u0026 Update","count":11},{"language":"default","tag":"Use Cases","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/process-cards/process-transaction","slug":"/api-reference/process-cards/process-transaction","pageMetadata":{"title":"Process Transaction","description":"Process a payment gateway transaction using a stored card token.","api":"POST https://service.pcibooking.net/api/paymentGateway","href":"/api-reference/process-cards/process-transaction"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Process a payment gateway transaction using a stored card token.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,Expandable,Heading,Info,Note,ParamField,Tab,Table,Tabs}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(Card,{title:`Processing Charges Guide`,icon:`book`,href:`/use-tokens/charge`,children:_jsx(_components.p,{children:`Process payments using stored tokens`})}),`\n`,_jsx(_components.p,{children:`PCI Booking retrieves the real card data from the token, constructs a PSP-specific request, sends it to your configured payment gateway, and returns the gateway’s response.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Some payment gateways have additional requirements. Review the `,_jsx(_components.a,{href:`/api-reference/process-cards/gateway-guidance`,children:`gateway-specific guidance`}),` before sending your first transaction.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`HTTP Status`}),_jsx(_components.th,{children:`Condition`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`none`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`API key is missing or invalid. The response body is empty.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-1003`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsxs(_components.td,{children:[`The token does not exist, was deleted, or the authenticated user is not the owner and not associated with it. See `,_jsx(_components.a,{href:`/reference/error-handling#token-not-found-or-not-accessible`,children:`Token Not Found or Not Accessible`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Request body could not be parsed as JSON.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Missing `,_jsx(_components.code,{children:`cardToken`}),` when the operation requires card data and no `,_jsx(_components.code,{children:`GatewayToken`}),` is provided.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Invalid or malformed `,_jsx(_components.code,{children:`cardToken`}),` URI.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Missing `,_jsx(_components.code,{children:`Amount`}),` for operations other than `,_jsx(_components.code,{children:`Void`}),` and `,_jsx(_components.code,{children:`Tokenize`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Missing `,_jsx(_components.code,{children:`GatewayReference`}),` when `,_jsx(_components.code,{children:`OperationType`}),` is `,_jsx(_components.code,{children:`Refund`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`credentialsId`}),` was provided but the credentials were not found or could not be parsed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`PaymentGateway`}),` JSON section could not be parsed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The payment gateway does not support network tokens, but a network token brand was provided.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-125`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Client certificate name was provided but the certificate could not be retrieved.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-150`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Failed to retrieve the bank card data from the vault.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`none`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`504`})}),_jsxs(_components.td,{children:[`The request took longer than 29 seconds. The body is `,_jsx(_components.code,{children:`{\"message\":\"Endpoint request timed out\"}`}),`. The outcome is unknown, see `,_jsx(_components.a,{href:`#timeouts`,children:`Timeouts`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`error-detail`,children:`Error detail`}),`\n`,_jsxs(_components.p,{children:[`Each condition below gives the exact `,_jsx(_components.code,{children:`moreInfo`}),` text, why it happens and how to resolve it. The full set is on the `,_jsx(_components.a,{href:`/reference/error-handling`,children:`Error Handling`}),` page.`]}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`-125 Bad input data - request object could not be parsed`,id:`125-bad-input-data-request-object-could-not-be-parsed`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`HTTP status:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message`}),`:`]}),` `,_jsx(_components.code,{children:`Bad input data`})]}),_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`moreInfo`}),`:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request object could not be parsed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reason.`}),` The body could not be deserialised into the object the endpoint expects, so no field level validation ran. A single malformed field or a wrong container type is enough.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`How to resolve.`})}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Validate the body against the endpoint’s schema before sending.`}),`\n`,_jsx(_components.li,{children:`Check for a value sent as the wrong type, most often a number sent as a string or an object sent where an array is expected.`}),`\n`,_jsxs(_components.li,{children:[`Check `,_jsx(_components.code,{children:`Content-Type`}),` matches the body format.`]}),`\n`]})]}),_jsxs(Accordion,{title:`-125 Bad input data - card or token missing from the request`,id:`125-bad-input-data-card-or-token-missing-from-the-request`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`HTTP status:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message`}),`:`]}),` `,_jsx(_components.code,{children:`Bad input data`})]}),_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`moreInfo`}),`:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Missing Card object`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Missing CardToken property`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Bad or Missing CardToken property`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reason.`}),` The transaction carried no card to charge. Either the card object is absent, or the `,_jsx(_components.code,{children:`CardToken`}),` property is missing or not a readable token URI.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`How to resolve.`})}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Send exactly one of a card object or a `,_jsx(_components.code,{children:`CardToken`}),`, as the endpoint requires.`]}),`\n`,_jsx(_components.li,{children:`Pass the full token URI, not the bare 32-hex token, unless the endpoint documents otherwise.`}),`\n`,_jsx(_components.li,{children:`Check the property name and its capitalisation against the endpoint reference.`}),`\n`]})]}),_jsxs(Accordion,{title:`-125 Bad input data - required transaction field missing`,id:`125-bad-input-data-required-transaction-field-missing`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`HTTP status:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message`}),`:`]}),` `,_jsx(_components.code,{children:`Bad input data`})]}),_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`moreInfo`}),`:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Missing amount property`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Missing GatewayReference property`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reason.`}),` A field the operation cannot run without was absent. Which field is required depends on the operation: a capture or refund needs the `,_jsx(_components.code,{children:`GatewayReference`}),` of the original authorisation, and an amount is required wherever money moves.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`How to resolve.`})}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Add the field named in `,_jsx(_components.code,{children:`moreInfo`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`For a capture, refund or void, send the `,_jsx(_components.code,{children:`GatewayReference`}),` returned by the original transaction rather than your own reference.`]}),`\n`,_jsx(_components.li,{children:`Send the amount in the units the gateway expects, and check whether it takes minor units.`}),`\n`]})]}),_jsxs(Accordion,{title:`-125 Bad input data - client certificate unavailable`,id:`125-bad-input-data-client-certificate-unavailable`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`HTTP status:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message`}),`:`]}),` `,_jsx(_components.code,{children:`Bad input data`})]}),_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`moreInfo`}),`:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Cannot obtain client certificate`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reason.`}),` The profile or gateway configuration names a client certificate for mutual TLS, but it could not be loaded. This is a configuration problem on the account, not a fault in your request.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`How to resolve.`})}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Check the certificate is uploaded against the account and the profile names it exactly.`}),`\n`,_jsx(_components.li,{children:`Check the certificate has not expired.`}),`\n`,_jsxs(_components.li,{children:[`Contact `,_jsx(_components.a,{href:`https://pcibooking.net/pci-booking-support/`,children:`support`}),` with the profile name if both look correct. Certificate installation is done on the PCI Booking side.`]}),`\n`]})]}),_jsxs(Accordion,{title:`-1003 You are not authorized to access this resource - token does not exist, was deleted, or is not yours`,id:`1003-you-are-not-authorized-to-access-this-resource-token-does-not-exist-was-deleted-or-is-not-yours`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`HTTP status:`}),` `,_jsx(_components.code,{children:`401`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message`}),`:`]}),` `,_jsx(_components.code,{children:`You are not authorized to access this resource. Please contact customer support.`})]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`moreInfo`}),`:`]}),` one of the following, depending on which check failed:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User is not the owner of this bank card`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Merchant or Owner are not associated with bank card [\u003ctoken>] userID: \u003cuserId>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User \u003cuserId> is not associated with bank card [\u003ctoken>]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User \u003cuserId> cannot delegate token \u003ctoken> - not owner and lacks delegation rights`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User is not authorized to handle bank cards`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reason.`}),` The credential authenticated fine, but it cannot act on the token in the request. Either the token does not exist or it is not yours to use. The generic wording makes this the single most misread error in the API. On a token call it is far more often one of the causes below than an actual permissions problem.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`How to resolve.`})}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check the token still exists.`}),` This is the most common cause. On every token endpoint except Delete Token, a token that does not exist or was deleted returns this error, the same as a token that belongs to another account. See `,_jsx(_components.a,{href:`/reference/error-handling#token-not-found-or-not-accessible`,children:`Token Not Found or Not Accessible`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check the tokenization actually succeeded.`}),` If the call that should have created the token failed, the token never existed, and calls that use it report `,_jsx(_components.code,{children:`-1003`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check the environment.`}),` A sandbox token cannot be used from production, or the reverse.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check ownership and association.`}),` See the rules below.`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Ownership and association.`})}),_jsx(_components.p,{children:`A token is owned by the account that created it. Another account can use the token only if the token was explicitly associated with it:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`At tokenization`}),`, by passing `,_jsx(_components.code,{children:`merchantId`}),` on the tokenizing call.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`After tokenization`}),`, by associating the token with the merchant.`]}),`\n`]}),_jsx(_components.p,{children:`Two rules catch people out:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An association can only target a `,_jsx(_components.strong,{children:`primary`}),` account. If you pass the ID of a sub-user or a secondary property, the request is rejected and you must associate the token with the parent account instead.`]}),`\n`,_jsx(_components.li,{children:`Tokens never cross environments. A token created in sandbox cannot be used from production, and the reverse is also true.`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Account level blocks.`})}),_jsxs(_components.p,{children:[`An account that has exceeded its processing allowance is blocked, and every billable API call from it then fails with HTTP `,_jsx(_components.code,{children:`403`}),` and code `,_jsx(_components.code,{children:`-1003`}),`, even though the credentials are still valid and can still sign in to the portal. In this response `,_jsx(_components.code,{children:`message`}),` is empty (`,_jsx(_components.code,{children:`null`}),`) and `,_jsx(_components.code,{children:`moreInfo`}),` holds only the generic `,_jsx(_components.code,{children:`-1003`}),` text, so nothing in the body explains the block. The `,_jsx(_components.code,{children:`403`}),` status is what tells it apart from a token that is not accessible, which returns `,_jsx(_components.code,{children:`401`}),`.`]}),_jsx(_components.p,{children:`This is a common cause on sandbox accounts, which have a lower allowance than production.`}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Check for it when a `,_jsx(_components.code,{children:`403`}),` with `,_jsx(_components.code,{children:`-1003`}),` appears suddenly across calls that used to work, on more than one token.`]}),` A block affects every billable call on the account at once, whereas a genuine ownership problem affects only the specific token. Contact `,_jsx(_components.a,{href:`https://pcibooking.net/pci-booking-support/`,children:`support`}),` with your account name to have the allowance reviewed and the block lifted. The block stays until support lifts it.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`timeouts`,children:`Timeouts`}),`\n`,_jsxs(_components.p,{children:[`The whole request, including the time the payment gateway takes to answer, must complete within 29 seconds. If it does not, you receive HTTP `,_jsx(_components.code,{children:`504`}),`. A `,_jsx(_components.code,{children:`504`}),` is an `,_jsx(_components.strong,{children:`unknown result, not a failure`}),`: the gateway may still have processed the transaction. Before you retry, check the transaction in your gateway’s portal, using the `,_jsx(_components.code,{children:`myRef`}),` you sent. If your gateway regularly takes longer than 29 seconds, contact `,_jsx(_components.a,{href:`mailto:support@pcibooking.net`,children:`support@pcibooking.net`}),` for an alternative setup.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameter-constraints`,children:`Parameter Constraints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`OperationType`}),`: Must be one of `,_jsx(_components.code,{children:`Charge`}),`, `,_jsx(_components.code,{children:`PreAuth`}),`, `,_jsx(_components.code,{children:`Capture`}),`, `,_jsx(_components.code,{children:`Void`}),`, `,_jsx(_components.code,{children:`Refund`}),`, `,_jsx(_components.code,{children:`Tokenize`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Amount`}),`: Required for all operations except `,_jsx(_components.code,{children:`Void`}),` and `,_jsx(_components.code,{children:`Tokenize`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`GatewayReference`}),`: Required for `,_jsx(_components.code,{children:`Refund`}),` operations.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`cardToken`}),`: Required when the operation needs card data and no `,_jsx(_components.code,{children:`GatewayToken`}),` is provided. Must be a valid PCI Booking token URI containing a 32-character hex token.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`credentialsId`}),` or `,_jsx(_components.strong,{children:`PaymentGateway`}),` object: One must be provided. If using `,_jsx(_components.code,{children:`credentialsId`}),`, the credentials must already be stored. If you send `,_jsx(_components.code,{children:`credentialsId`}),` and a `,_jsx(_components.code,{children:`PaymentGateway`}),` object, the stored credentials are used in full and the object in the body is ignored. The two are not merged, and no error is returned. To vary a value per transaction, use the `,_jsx(_components.code,{children:`Parameters`}),` object rather than partial credentials.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`API key only.`}),` This endpoint does not accept access tokens or session tokens.`]}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Your API key prefixed with `,_jsx(_components.code,{children:`APIKEY`}),`. Example: `,_jsx(_components.code,{children:`APIKEY your-api-key`}),`. The `,_jsx(_components.code,{children:`x-pcibooking-api-key`}),` header is also accepted. See the `,_jsx(_components.a,{href:`/getting-started/authentication`,children:`Authentication guide`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-string`,children:`Query String`}),`\n`,_jsx(ParamField,{query:`credentialsId`,type:`string`,id:`param-credentials-id`,children:_jsxs(_components.p,{children:[`The ID of credentials `,_jsx(_components.a,{href:`/api-reference/process-cards/store-credentials`,children:`stored in PCI Booking`}),`. When provided, omit the `,_jsx(_components.code,{children:`PaymentGateway`}),` object from the request body.`]})}),`\n`,_jsx(ParamField,{query:`certName`,type:`string`,id:`param-cert-name`,children:_jsxs(_components.p,{children:[`The name of a `,_jsx(_components.a,{href:`/account-setup/client-certificates`,children:`client certificate`}),` to use for gateway authentication, if required by the gateway.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`cardToken`,type:`string`,id:`param-card-token`,children:_jsx(_components.p,{children:`The PCI Booking card token URI, received during tokenization.`})}),`\n`,_jsx(ParamField,{body:`OperationType`,type:`string`,required:true,id:`param-operation-type`,children:_jsxs(_components.p,{children:[`The operation to perform. One of: `,_jsx(_components.code,{children:`Charge`}),`, `,_jsx(_components.code,{children:`PreAuth`}),`, `,_jsx(_components.code,{children:`Capture`}),`, `,_jsx(_components.code,{children:`Void`}),`, `,_jsx(_components.code,{children:`Refund`}),`, `,_jsx(_components.code,{children:`Tokenize`}),`.`]})}),`\n`,_jsx(ParamField,{body:`Amount`,type:`number`,id:`param-amount`,children:_jsxs(_components.p,{children:[`The transaction amount. Required for all operations except `,_jsx(_components.code,{children:`Void`}),` and `,_jsx(_components.code,{children:`Tokenize`}),`.`]})}),`\n`,_jsx(ParamField,{body:`Currency`,type:`string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`ISO 4217 currency code (e.g. `,_jsx(_components.code,{children:`USD`}),`, `,_jsx(_components.code,{children:`EUR`}),`). Required for all operations except `,_jsx(_components.code,{children:`Void`}),` and `,_jsx(_components.code,{children:`Tokenize`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`PaymentGateway`,type:`object`,id:`param-payment-gateway`,children:[_jsxs(_components.p,{children:[`The payment gateway name and credentials. Not required if `,_jsx(_components.code,{children:`credentialsId`}),` is provided.`]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`PaymentGateway.Name`,type:`string`,required:true,id:`param-payment-gateway-name`,children:_jsxs(_components.p,{children:[`The payment gateway name (e.g. `,_jsx(_components.code,{children:`Stripe`}),`, `,_jsx(_components.code,{children:`Adyen`}),`, `,_jsx(_components.code,{children:`Worldpay`}),`). See `,_jsx(_components.a,{href:`/api-reference/process-cards/get-payment-gateways`,children:`supported gateways`}),`.`]})}),_jsx(ParamField,{body:`PaymentGateway.Credentials`,type:`object`,required:true,id:`param-payment-gateway-credentials`,children:_jsxs(_components.p,{children:[`Gateway-specific credential key-value pairs. See `,_jsx(_components.a,{href:`/api-reference/process-cards/gateway-guidance`,children:`gateway guidance`}),` for required credentials per gateway.`]})})]})]}),`\n`,_jsx(ParamField,{body:`GatewayReference`,type:`string`,id:`param-gateway-reference`,children:_jsxs(_components.p,{children:[`The transaction ID of a prior operation. Required for `,_jsx(_components.code,{children:`Capture`}),` (reference the PreAuth), `,_jsx(_components.code,{children:`Refund`}),` (reference the Charge or Capture), and `,_jsx(_components.code,{children:`Void`}),` (reference the operation to void).`]})}),`\n`,_jsx(ParamField,{body:`GatewayToken`,type:`string`,id:`param-gateway-token`,children:_jsx(_components.p,{children:`A token previously generated by the payment gateway. When provided, PCI Booking uses this gateway token instead of the card token for the transaction.`})}),`\n`,_jsx(ParamField,{body:`myRef`,type:`string`,id:`param-my-ref`,children:_jsxs(_components.p,{children:[`Your own reference for this transaction. Some gateways have specific format requirements. See `,_jsx(_components.a,{href:`/api-reference/process-cards/gateway-guidance`,children:`gateway guidance`}),`.`]})}),`\n`,_jsx(ParamField,{body:`GenerateToken`,type:`boolean`,default:`false`,id:`param-generate-token`,children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`Charge`}),` and `,_jsx(_components.code,{children:`PreAuth`}),` operations, additionally generates a token from the payment gateway. The gateway token is returned in the response.`]})}),`\n`,_jsx(ParamField,{body:`ThreeDS`,type:`boolean`,default:`true`,id:`param-three-ds`,children:_jsxs(_components.p,{children:[`Whether to include the token’s stored 3DS authentication data (if any) in the request to the PSP, for PSPs that support it - see `,_jsx(_components.a,{href:`/use-tokens/universal-payment-gateway#3d-secure-and-the-upg`,children:`3D Secure and the UPG`}),`. This does not trigger a new 3DS challenge; it only controls whether existing 3DS data on the token is forwarded. Set to `,_jsx(_components.code,{children:`false`}),` to charge without forwarding 3DS data even if the token has it.`]})}),`\n`,_jsx(ParamField,{body:`Parameters`,type:`object`,id:`param-parameters`,children:_jsxs(_components.p,{children:[`Gateway-specific parameters as key-value pairs. These are passed through to the payment gateway. See `,_jsx(_components.a,{href:`/api-reference/process-cards/gateway-guidance`,children:`gateway guidance`}),` for supported parameters per gateway.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`payer-and-order-details`,children:`Payer and Order Details`}),`\n`,_jsxs(ParamField,{body:`PayerDetails`,type:`object`,id:`param-payer-details`,children:[_jsx(_components.p,{children:`Details about the customer being charged. Some gateways require specific payer fields.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`PayerDetails.FirstName`,type:`string`,id:`param-payer-details-first-name`,children:_jsx(_components.p,{children:`Customer’s first name.`})}),_jsx(ParamField,{body:`PayerDetails.LastName`,type:`string`,id:`param-payer-details-last-name`,children:_jsx(_components.p,{children:`Customer’s last name.`})}),_jsx(ParamField,{body:`PayerDetails.Email`,type:`string`,id:`param-payer-details-email`,children:_jsx(_components.p,{children:`Customer’s email address.`})}),_jsx(ParamField,{body:`PayerDetails.Phone`,type:`string`,id:`param-payer-details-phone`,children:_jsx(_components.p,{children:`Customer’s phone number.`})}),_jsx(ParamField,{body:`PayerDetails.Address1`,type:`string`,id:`param-payer-details-address1`,children:_jsx(_components.p,{children:`Billing address line 1.`})}),_jsx(ParamField,{body:`PayerDetails.Address2`,type:`string`,id:`param-payer-details-address2`,children:_jsx(_components.p,{children:`Billing address line 2.`})}),_jsx(ParamField,{body:`PayerDetails.Address3`,type:`string`,id:`param-payer-details-address3`,children:_jsx(_components.p,{children:`Billing address line 3.`})}),_jsx(ParamField,{body:`PayerDetails.City`,type:`string`,id:`param-payer-details-city`,children:_jsx(_components.p,{children:`Billing city.`})}),_jsx(ParamField,{body:`PayerDetails.StateProvince`,type:`string`,id:`param-payer-details-state-province`,children:_jsx(_components.p,{children:`Billing state or province.`})}),_jsx(ParamField,{body:`PayerDetails.PostCode`,type:`string`,id:`param-payer-details-post-code`,children:_jsx(_components.p,{children:`Billing postal code.`})}),_jsx(ParamField,{body:`PayerDetails.CountryCode`,type:`string`,id:`param-payer-details-country-code`,children:_jsxs(_components.p,{children:[`ISO 3166-1 alpha-2 country code (e.g. `,_jsx(_components.code,{children:`US`}),`, `,_jsx(_components.code,{children:`GB`}),`).`]})}),_jsx(ParamField,{body:`PayerDetails.ClientIPAddress`,type:`string`,id:`param-payer-details-client-ip-address`,children:_jsx(_components.p,{children:`Customer’s IP address. Required by some gateways for fraud screening.`})})]})]}),`\n`,_jsx(ParamField,{body:`OrderDesc`,type:`string`,id:`param-order-desc`,children:_jsxs(_components.p,{children:[`Order description. Used by specific payment gateways. See `,_jsx(_components.a,{href:`/api-reference/process-cards/gateway-guidance`,children:`gateway guidance`}),` for details.`]})}),`\n`,_jsx(ParamField,{body:`IsDigital`,type:`boolean`,id:`param-is-digital`,children:_jsx(_components.p,{children:`Indicates digital goods. Used by specific gateways (e.g. WorldPay).`})}),`\n`,_jsx(Heading,{level:`3`,id:`fallback-routing`,children:`Fallback Routing`}),`\n`,_jsxs(ParamField,{body:`FallbackUpgs`,type:`array`,id:`param-fallback-upgs`,children:[_jsxs(_components.p,{children:[`Backup payment gateway accounts for a charge. If the charge does not succeed at the primary gateway, PCI Booking tries each fallback in order and stops at the first success. Used for charges only, and not after the decline reasons `,_jsx(_components.code,{children:`CardExpired`}),`, `,_jsx(_components.code,{children:`Fraud`}),`, `,_jsx(_components.code,{children:`LostOrStolenCard`}),` or `,_jsx(_components.code,{children:`InsufficientFunds`}),`. A fallback account that cannot be loaded is skipped. See `,_jsx(_components.a,{href:`/use-tokens/fallback-gateways`,children:`Fallback Payment Gateways`}),`.`]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`FallbackUpgs[].PaymentGatewayAccountName`,type:`string`,id:`param-fallback-upgs-payment-gateway-account-name`,children:_jsxs(_components.p,{children:[`The ID of the `,_jsx(_components.a,{href:`/account-setup/gateway-credentials`,children:`stored payment gateway credentials`}),` to use as a fallback.`]})}),_jsx(ParamField,{body:`FallbackUpgs[].PaymentGatewayCertName`,type:`string`,id:`param-fallback-upgs-payment-gateway-cert-name`,children:_jsx(_components.p,{children:`The client certificate name for the fallback gateway, if required.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-example`,children:`Request Example`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`Charge`}),` operation for $150.00 USD, using inline gateway credentials:`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`curl`,id:`curl`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/paymentGateway\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cardToken\": \"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"OperationType\": \"Charge\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Amount\": 150.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Currency\": \"USD\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PaymentGateway\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Name\": \"Stripe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Credentials\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"SecretKey\": \"sk_test_abc123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"myRef\": \"order-98765\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PayerDetails\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FirstName\": \"Jane\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LastName\": \"Smith\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Email\": \"jane.smith@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Tab,{title:`Node.js`,id:`node-js`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`28`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://service.pcibooking.net/api/paymentGateway\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cardToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OperationType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 150.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Currency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PaymentGateway:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Stripe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Credentials:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` SecretKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sk_test_abc123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` myRef:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order-98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PayerDetails:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FirstName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Jane\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LastName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jane.smith@example.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})}),_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/paymentGateway\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cardToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"OperationType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PaymentGateway\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Stripe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Credentials\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"SecretKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk_test_abc123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"myRef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order-98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PayerDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FirstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane.smith@example.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`To use stored credentials instead of inline ones, pass the `,_jsx(_components.code,{children:`credentialsId`}),` query parameter and omit the `,_jsx(_components.code,{children:`PaymentGateway`}),` object:`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`curl`,id:`curl-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/paymentGateway?credentialsId=my-stripe-prod\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cardToken\": \"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"OperationType\": \"Charge\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Amount\": 150.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Currency\": \"USD\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"myRef\": \"order-98765\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Tab,{title:`Node.js`,id:`node-js-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/paymentGateway?credentialsId=my-stripe-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cardToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OperationType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 150.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Currency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` myRef:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order-98765\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})}),_jsx(Tab,{title:`Python`,id:`python-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://service.pcibooking.net/api/paymentGateway\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credentialsId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-stripe-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APIKEY your-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cardToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://service.pcibooking.net/api/payments/paycard/555fd7b49f134b42a5dbe4d576b2e527\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"OperationType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"myRef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order-98765\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The response is the result of the operation at the payment gateway. Field names are in PascalCase and status values are sent as strings. Which fields are filled, and the values in the `,_jsx(_components.code,{children:`Gateway`}),` fields, depend on the payment gateway. For example, some gateways do not return an authorization code, and on a declined operation some do not return the amount, currency or gateway reference. The examples below come from a Stripe charge.`]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ParamField,{body:`OperationType`,type:`string`,id:`param-operation-type-1`,children:_jsxs(_components.p,{children:[`The operation that was performed: `,_jsx(_components.code,{children:`PreAuth`}),`, `,_jsx(_components.code,{children:`Capture`}),`, `,_jsx(_components.code,{children:`Charge`}),`, `,_jsx(_components.code,{children:`Refund`}),` or `,_jsx(_components.code,{children:`Void`}),`.`]})}),`\n`,_jsx(ParamField,{body:`OperationResultCode`,type:`string`,id:`param-operation-result-code`,children:_jsxs(_components.p,{children:[`The outcome of the operation. See `,_jsx(_components.a,{href:`#operation-results`,children:`Operation Results`}),` below.`]})}),`\n`,_jsx(ParamField,{body:`OperationResultDescription`,type:`string`,id:`param-operation-result-description`,children:_jsx(_components.p,{children:`A description of the outcome.`})}),`\n`,_jsx(ParamField,{body:`GatewayName`,type:`string`,id:`param-gateway-name`,children:_jsx(_components.p,{children:`The payment gateway that processed the operation.`})}),`\n`,_jsx(ParamField,{body:`GatewayReference`,type:`string`,id:`param-gateway-reference-1`,children:_jsx(_components.p,{children:`The payment gateway’s own transaction reference. Use this value for subsequent Capture, Void or Refund operations on the same transaction.`})}),`\n`,_jsx(ParamField,{body:`GatewayResultCode`,type:`string`,id:`param-gateway-result-code`,children:_jsx(_components.p,{children:`The result code returned by the payment gateway, in the gateway’s own format.`})}),`\n`,_jsx(ParamField,{body:`GatewayResultDescription`,type:`string`,id:`param-gateway-result-description`,children:_jsx(_components.p,{children:`The result description returned by the payment gateway.`})}),`\n`,_jsx(ParamField,{body:`GatewayResultSubCode`,type:`string`,id:`param-gateway-result-sub-code`,children:_jsx(_components.p,{children:`A secondary result code, when the payment gateway returns one.`})}),`\n`,_jsx(ParamField,{body:`GatewayResultSubDescription`,type:`string`,id:`param-gateway-result-sub-description`,children:_jsx(_components.p,{children:`A secondary result description, when the payment gateway returns one.`})}),`\n`,_jsx(ParamField,{body:`AuthorizationCode`,type:`string`,id:`param-authorization-code`,children:_jsx(_components.p,{children:`The authorization code returned by the payment gateway.`})}),`\n`,_jsx(ParamField,{body:`Currency`,type:`string`,id:`param-currency-1`,children:_jsx(_components.p,{children:`The currency of the operation, as an ISO 4217 code.`})}),`\n`,_jsx(ParamField,{body:`Amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`The amount of the operation.`})}),`\n`,_jsx(ParamField,{body:`RejectReasonCode`,type:`string`,id:`param-reject-reason-code`,children:_jsxs(_components.p,{children:[`A standardized reason for a declined or failed operation, the same for every payment gateway. Not included when the operation succeeds. See `,_jsx(_components.a,{href:`#reject-reason-codes`,children:`Reject Reason Codes`}),` below.`]})}),`\n`,_jsx(ParamField,{body:`GatewayToken`,type:`object`,id:`param-gateway-token-1`,children:_jsx(_components.p,{children:`The payment gateway’s token for the card, when the operation creates one. Not included otherwise.`})}),`\n`,_jsx(ParamField,{body:`CustomGatewayResponse`,type:`object`,id:`param-custom-gateway-response`,children:_jsx(_components.p,{children:`Additional data specific to the payment gateway. Not included when empty.`})}),`\n`,_jsx(Heading,{level:`3`,id:`operation-results`,children:`Operation Results`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`OperationResultCode`})}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Success`})}),_jsx(_components.td,{children:`The operation completed successfully.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Accepted`})}),_jsx(_components.td,{children:`The payment gateway accepted the request, but the final result is not known yet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Rejected`})}),_jsxs(_components.td,{children:[`The payment gateway or the issuer declined the operation. See `,_jsx(_components.code,{children:`RejectReasonCode`}),`, `,_jsx(_components.code,{children:`GatewayResultCode`}),` and `,_jsx(_components.code,{children:`GatewayResultDescription`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TemporaryFailure`})}),_jsx(_components.td,{children:`The operation failed for a temporary reason, for example a network error, and can be retried.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FatalFailure`})}),_jsx(_components.td,{children:`The operation failed and should not be retried as it is.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NotImplemented`})}),_jsx(_components.td,{children:`The payment gateway does not support this operation.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`reject-reason-codes`,children:`Reject Reason Codes`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`RejectReasonCode`}),` to handle declines in the same way for every payment gateway, instead of interpreting each gateway’s own codes.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`RejectReasonCode`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`InsufficientFunds`})}),_jsx(_components.td,{children:`Insufficient funds in the account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CardExpired`})}),_jsx(_components.td,{children:`The card has expired.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidCard`})}),_jsx(_components.td,{children:`The card number or card details are not valid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DoNotHonor`})}),_jsx(_components.td,{children:`The issuer declined without giving a reason.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Fraud`})}),_jsx(_components.td,{children:`The transaction was flagged as fraudulent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LostOrStolenCard`})}),_jsx(_components.td,{children:`The card was reported lost or stolen.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ExceedsLimit`})}),_jsx(_components.td,{children:`The transaction exceeds an allowed limit.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidTransaction`})}),_jsx(_components.td,{children:`The transaction type or its parameters are not valid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProcessorDecline`})}),_jsx(_components.td,{children:`The processor or acquirer declined the transaction.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AuthenticationFailed`})}),_jsx(_components.td,{children:`3D Secure or another authentication failed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TechnicalError`})}),_jsx(_components.td,{children:`A technical or system error occurred during processing.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Other`})}),_jsx(_components.td,{children:`Any other reason.`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Consider adding business logic based on the `,_jsx(_components.a,{href:`/capture-cards/cvv-retention-policy`,children:`CVV retention policy`}),` status after a transaction.`]})})]})}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":"Process Transaction","description":"Process a payment gateway transaction using a stored card token.","api":"POST https://service.pcibooking.net/api/paymentGateway","href":"/api-reference/process-cards/process-transaction"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[445,449,"ResponseExample,Tab,"],[934,949,"ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Tab)_missingMdx"],[84733,85161,",`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success`,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationResultCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationResultDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order 98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Stripe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayReference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ch_3PqL2x2eZvKYlo2C0b1a2b3c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"succeeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order 98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultSubCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultSubDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AuthorizationCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`250.00`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200 Rejected`,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationResultCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Rejected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OperationResultDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[card_error] Your card has insufficient funds.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Stripe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayReference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"card_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your card has insufficient funds.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultSubCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GatewayResultSubDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AuthorizationCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"RejectReasonCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"InsufficientFunds\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-125`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bad input data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"moreInfo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errorList\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Empty response body.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authentication failed: the API key, session token or access token is missing or was not accepted.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`See \"Authentication and Permission Failures\" on the Error Handling page.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]})}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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Error Responses","slug":"error-responses","depth":2,"children":[{"title":"Error detail","slug":"error-detail","depth":3,"children":[]}]},{"title":"Timeouts","slug":"timeouts","depth":2,"children":[]},{"title":"Parameter Constraints","slug":"parameter-constraints","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[{"title":"Authentication","slug":"authentication","depth":3,"children":[]},{"title":"Query String","slug":"query-string","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Payer and Order Details","slug":"payer-and-order-details","depth":3,"children":[]},{"title":"Fallback Routing","slug":"fallback-routing","depth":3,"children":[]}]},{"title":"Request Example","slug":"request-example","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]},{"title":"Operation Results","slug":"operation-results","depth":3,"children":[]},{"title":"Reject Reason Codes","slug":"reject-reason-codes","depth":3,"children":[]}]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Charge\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationResultCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationResultDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Order 98765\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Stripe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayReference\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ch_3PqL2x2eZvKYlo2C0b1a2b3c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"succeeded\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Order 98765\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultSubCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultSubDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AuthorizationCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EUR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">250.00\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 Rejected","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Charge\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationResultCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Rejected\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"OperationResultDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"[card_error] Your card has insufficient funds.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Stripe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayReference\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"card_error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Your card has insufficient funds.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultSubCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"GatewayResultSubDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AuthorizationCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"RejectReasonCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"InsufficientFunds\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">-125\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bad input data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"moreInfo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errorList\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"text\">\u003ccode language=\"text\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan>Empty response body.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>Authentication failed: the API key, session token or access token is missing or was not accepted.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>See \"Authentication and Permission Failures\" on the Error Handling page.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Process Transaction","path":"/api/paymentGateway","servers":[{"url":"https://service.pcibooking.net"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"Authorization":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{"credentialsId":{"schema":[{"type":"string","description":"The ID of credentials stored in PCI Booking . When provided, omit the `PaymentGateway` object from the request body."}]},"certName":{"schema":[{"type":"string","description":"The name of a client certificate to use for gateway authentication, if required by the gateway."}]}},"header":{"Authorization":{"schema":[{"type":"string","description":"Your API key prefixed with `APIKEY` . Example: `APIKEY your-api-key` . The `x-pcibooking-api-key` header is also accepted. See the Authentication guide .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"cardToken":[{"type":"string","description":"The PCI Booking card token URI, received during tokenization."}],"OperationType":[{"type":"string","description":"The operation that was performed: `PreAuth` , `Capture` , `Charge` , `Refund` or `Void` ."}],"Amount":[{"type":"number","description":"The amount of the operation."}],"Currency":[{"type":"string","description":"The currency of the operation, as an ISO 4217 code."}],"PaymentGateway":[{"type":"object","properties":{"PaymentGateway.Name":[{"type":"string","description":"The payment gateway name (e.g. `Stripe` , `Adyen` , `Worldpay` ). See supported gateways .","required":true}],"PaymentGateway.Credentials":[{"type":"object","properties":{},"description":"Gateway-specific credential key-value pairs. See gateway guidance for required credentials per gateway.","required":true}]},"description":"The payment gateway name and credentials. Not required if `credentialsId` is provided."}],"GatewayReference":[{"type":"string","description":"The payment gateway’s own transaction reference. Use this value for subsequent Capture, Void or Refund operations on the same transaction."}],"GatewayToken":[{"type":"object","properties":{},"description":"The payment gateway’s token for the card, when the operation creates one. Not included otherwise."}],"myRef":[{"type":"string","description":"Your own reference for this transaction. Some gateways have specific format requirements. See gateway guidance ."}],"GenerateToken":[{"type":"boolean","description":"For `Charge` and `PreAuth` operations, additionally generates a token from the payment gateway. The gateway token is returned in the response."}],"ThreeDS":[{"type":"boolean","description":"Whether to include the token’s stored 3DS authentication data (if any) in the request to the PSP, for PSPs that support it - see 3D Secure and the UPG . This does not trigger a new 3DS challenge; it only controls whether existing 3DS data on the token is forwarded. Set to `false` to charge without forwarding 3DS data even if the token has it."}],"Parameters":[{"type":"object","properties":{},"description":"Gateway-specific parameters as key-value pairs. These are passed through to the payment gateway. See gateway guidance for supported parameters per gateway."}],"PayerDetails":[{"type":"object","properties":{"PayerDetails.FirstName":[{"type":"string","description":"Customer’s first name."}],"PayerDetails.LastName":[{"type":"string","description":"Customer’s last name."}],"PayerDetails.Email":[{"type":"string","description":"Customer’s email address."}],"PayerDetails.Phone":[{"type":"string","description":"Customer’s phone number."}],"PayerDetails.Address1":[{"type":"string","description":"Billing address line 1."}],"PayerDetails.Address2":[{"type":"string","description":"Billing address line 2."}],"PayerDetails.Address3":[{"type":"string","description":"Billing address line 3."}],"PayerDetails.City":[{"type":"string","description":"Billing city."}],"PayerDetails.StateProvince":[{"type":"string","description":"Billing state or province."}],"PayerDetails.PostCode":[{"type":"string","description":"Billing postal code."}],"PayerDetails.CountryCode":[{"type":"string","description":"ISO 3166-1 alpha-2 country code (e.g. `US` , `GB` )."}],"PayerDetails.ClientIPAddress":[{"type":"string","description":"Customer’s IP address. Required by some gateways for fraud screening."}]},"description":"Details about the customer being charged. Some gateways require specific payer fields."}],"OrderDesc":[{"type":"string","description":"Order description. Used by specific payment gateways. See gateway guidance for details."}],"IsDigital":[{"type":"boolean","description":"Indicates digital goods. Used by specific gateways (e.g. WorldPay)."}],"FallbackUpgs":[{"type":"array","items":[{"type":"object","properties":{"FallbackUpgs[].PaymentGatewayAccountName":[{"type":"string","description":"The ID of the stored payment gateway credentials to use as a fallback."}],"FallbackUpgs[].PaymentGatewayCertName":[{"type":"string","description":"The client certificate name for the fallback gateway, if required."}]}}],"description":"Backup payment gateway accounts for a charge. If the charge does not succeed at the primary gateway, PCI Booking tries each fallback in order and stops at the first success. Used for charges only, and not after the decline reasons `CardExpired` , `Fraud` , `LostOrStolenCard` or `InsufficientFunds` . A fallback account that cannot be loaded is skipped. See Fallback Payment Gateways ."}],"OperationResultCode":[{"type":"string","description":"The outcome of the operation. See Operation Results below."}],"OperationResultDescription":[{"type":"string","description":"A description of the outcome."}],"GatewayName":[{"type":"string","description":"The payment gateway that processed the operation."}],"GatewayResultCode":[{"type":"string","description":"The result code returned by the payment gateway, in the gateway’s own format."}],"GatewayResultDescription":[{"type":"string","description":"The result description returned by the payment gateway."}],"GatewayResultSubCode":[{"type":"string","description":"A secondary result code, when the payment gateway returns one."}],"GatewayResultSubDescription":[{"type":"string","description":"A secondary result description, when the payment gateway returns one."}],"AuthorizationCode":[{"type":"string","description":"The authorization code returned by the payment gateway."}],"RejectReasonCode":[{"type":"string","description":"A standardized reason for a declined or failed operation, the same for every payment gateway. Not included when the operation succeeds. See Reject Reason Codes below."}],"CustomGatewayResponse":[{"type":"object","properties":{},"description":"Additional data specific to the payment gateway. Not included when empty."}]}}],"examples":{"example":{"value":{"cardToken":"\u003cstring>","OperationType":"\u003cstring>","Amount":123,"Currency":"\u003cstring>","PaymentGateway":{"PaymentGateway.Name":"\u003cstring>","PaymentGateway.Credentials":{}},"GatewayReference":"\u003cstring>","GatewayToken":{},"myRef":"\u003cstring>","GenerateToken":true,"ThreeDS":true,"Parameters":{},"PayerDetails":{"PayerDetails.FirstName":"\u003cstring>","PayerDetails.LastName":"\u003cstring>","PayerDetails.Email":"\u003cstring>","PayerDetails.Phone":"\u003cstring>","PayerDetails.Address1":"\u003cstring>","PayerDetails.Address2":"\u003cstring>","PayerDetails.Address3":"\u003cstring>","PayerDetails.City":"\u003cstring>","PayerDetails.StateProvince":"\u003cstring>","PayerDetails.PostCode":"\u003cstring>","PayerDetails.CountryCode":"\u003cstring>","PayerDetails.ClientIPAddress":"\u003cstring>"},"OrderDesc":"\u003cstring>","IsDigital":true,"FallbackUpgs":[{"FallbackUpgs[].PaymentGatewayAccountName":"\u003cstring>","FallbackUpgs[].PaymentGatewayCertName":"\u003cstring>"}],"OperationResultCode":"\u003cstring>","OperationResultDescription":"\u003cstring>","GatewayName":"\u003cstring>","GatewayResultCode":"\u003cstring>","GatewayResultDescription":"\u003cstring>","GatewayResultSubCode":"\u003cstring>","GatewayResultSubDescription":"\u003cstring>","AuthorizationCode":"\u003cstring>","RejectReasonCode":"\u003cstring>","CustomGatewayResponse":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"pcibooking","siteName":"PCI Booking","title":"Process Transaction - PCI Booking","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-03T04:26:17.187Z","originalFileLocation":"api-reference/process-cards/process-transaction.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=\"description\" content=\"Process a payment gateway transaction using a stored card token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PCI Booking\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_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/pcibooking/Vkc1dlug5ZWqlaAq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Process Transaction - PCI Booking\">\u003cmeta data-mint-head property=\"og:description\" content=\"Process a payment gateway transaction using a stored card token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PCI Booking\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pcibooking.mintlify.app/_mintlify/api/og/v2?division=Payment+Gateway\u0026amp;title=Process+Transaction\u0026amp;description=Process+a+payment+gateway+transaction+using+a+stored+card+token.\u0026amp;theme=e6d7a314e297f3571cc8537d\u0026amp;signature=71b493c56d45e5d722204bbe8128c05b7a49651e906da89b45ef5ddb3f35cac3\">\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=\"Process Transaction - PCI Booking\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Process a payment gateway transaction using a stored card token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pcibooking.mintlify.app/_mintlify/api/og/v2?division=Payment+Gateway\u0026amp;title=Process+Transaction\u0026amp;description=Process+a+payment+gateway+transaction+using+a+stored+card+token.\u0026amp;theme=e6d7a314e297f3571cc8537d\u0026amp;signature=71b493c56d45e5d722204bbe8128c05b7a49651e906da89b45ef5ddb3f35cac3\">\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/pcibooking/Vkc1dlug5ZWqlaAq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PCI Booking\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#333333\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/process-cards/process-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.pcibooking.net/#organization\",\"name\":\"PCI Booking\",\"url\":\"https://developers.pcibooking.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pcibooking/pMOWAlxYaLwyZe8N/logo/light.png?fit=max\u0026auto=format\u0026n=pMOWAlxYaLwyZe8N\u0026q=85\u0026s=05d07ed84fd562e4e5546e37f9891791\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.pcibooking.net#website\",\"name\":\"PCI Booking\",\"url\":\"https://developers.pcibooking.net\",\"publisher\":{\"@id\":\"https://developers.pcibooking.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction#webpage\",\"url\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction\",\"name\":\"Process Transaction\",\"description\":\"Process a payment gateway transaction using a stored card token.\",\"dateModified\":\"2026-10-03T04:26:17.187Z\",\"isPartOf\":{\"@id\":\"https://developers.pcibooking.net#website\"},\"breadcrumb\":{\"@id\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Use Tokens\",\"item\":\"https://developers.pcibooking.net/api-reference/process-cards/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Process Transaction\",\"item\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction#apireference\",\"headline\":\"Process Transaction\",\"name\":\"Process Transaction\",\"description\":\"Process a payment gateway transaction using a stored card token.\",\"url\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://developers.pcibooking.net/api-reference/process-cards/process-transaction#webpage\"},\"dateModified\":\"2026-10-03T04:26:17.187Z\",\"publisher\":{\"@id\":\"https://developers.pcibooking.net/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.pcibooking.net#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PCI Booking\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PCI Booking","nav":{"global":{"anchors":[{"anchor":"Support","icon":"envelope","href":"https://pcibooking.net/contact"}]},"tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/start-here/introduction"}]},{"tab":"Use Cases","icon":"route","pages":[{"title":"Use Cases","href":"/use-cases/how-do-i"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Start Here","pages":[{"title":"API Reference Overview","sidebarTitle":"Overview","href":"/api-reference/overview"}]},{"group":"Authentication \u0026 General","pages":[{"group":"Authentication","pages":[{"title":"Authenticate API Key","api":"POST https://service.pcibooking.net/api/accounts/authenticate/","href":"/api-reference/general/authenticate"},{"title":"Start a Temporary Session","api":"POST https://service.pcibooking.net/api/payments/paycard/tempsession","href":"/api-reference/general/start-temporary-session"}]},{"title":"Get Supported Credit Cards","api":"GET https://service.pcibooking.net/api/payments/paycard/supportedCards","href":"/api-reference/general/get-supported-cards"},{"group":"CSS Stylesheets","pages":[{"title":"Add or update CSS","api":"PUT https://service.pcibooking.net/api/resources/stylesheet/{ResourceName}","href":"/api-reference/general/add-update-css"},{"title":"List All CSS Records","api":"GET https://service.pcibooking.net/api/resources/stylesheet","href":"/api-reference/general/list-css-records"},{"title":"Retrieve CSS Record","api":"GET https://service.pcibooking.net/api/resources/stylesheet/{ResourceName}","href":"/api-reference/general/retrieve-css-record"},{"title":"Delete CSS Record","api":"DELETE https://service.pcibooking.net/api/resources/stylesheet/{ResourceName}","href":"/api-reference/general/delete-css-record"}]}]},{"group":"Capture Cards","pages":[{"title":"Capture Cards API Reference","href":"/api-reference/tokenize-cards/overview"},{"title":"Request a Card Entry Form","api":"GET https://service.pcibooking.net/api/payments/capturecard","href":"/api-reference/tokenize-cards/request-card-entry-form"},{"group":"Session-Based Card Entry Form","pages":[{"title":"Create Card Entry Form Session","api":"POST https://service.pcibooking.net/api/capturecard","href":"/api-reference/tokenize-cards/create-card-entry-form-session"},{"title":"Retrieve Card Entry Session Details","api":"GET https://service.pcibooking.net/api/capturecard/{RequestID}","href":"/api-reference/tokenize-cards/retrieve-card-entry-session"},{"title":"Delete Card Entry Form","api":"DELETE https://service.pcibooking.net/api/capturecard/{RequestID}","href":"/api-reference/tokenize-cards/delete-card-entry-form"},{"title":"Card Entry Form Webhook","sidebarTitle":"Webhook","href":"/api-reference/tokenize-cards/card-entry-form-callback"}]},{"group":"Card By Link","pages":[{"title":"Send Card Capture Link","sidebarTitle":"Send Card Capture Link","api":"POST https://service.pcibooking.net/api/cardrequest","href":"/api-reference/tokenize-cards/cotp-send-card-form"},{"title":"Send CVV Capture Link","sidebarTitle":"Send CVV Capture Link","api":"POST https://service.pcibooking.net/api/cardrequest/duplicate","href":"/api-reference/tokenize-cards/cotp-send-cvv-form"},{"title":"Retrieve Card By Link Request","sidebarTitle":"Retrieve Request","api":"GET https://service.pcibooking.net/api/cardrequest/{requestID}","href":"/api-reference/tokenize-cards/cotp-retrieve-request"},{"title":"Card By Link Webhook","sidebarTitle":"Webhook","href":"/api-reference/tokenize-cards/cotp-callback"},{"title":"Delete Card By Link Request","sidebarTitle":"Delete Request","api":"DELETE https://service.pcibooking.net/api/cardrequest/{requestID}","href":"/api-reference/tokenize-cards/cotp-delete-request"}]},{"group":"Server-Side Tokenization","pages":[{"title":"Tokenization in Response","api":"POST https://service.pcibooking.net/api/payments/paycard/capture","href":"/api-reference/tokenize-cards/tokenization-in-response"},{"title":"Tokenize on Response Using Preset Profiles","api":"POST https://service.pcibooking.net/api/booker/{ProfileName}/reservation","href":"/api-reference/tokenize-cards/tokenize-on-response-using-preset-profiles"},{"title":"Get Tokenization Profiles","api":"GET https://service.pcibooking.net/api/booker","href":"/api-reference/tokenize-cards/get-tokenization-profiles"},{"title":"Tokenize from sFTP","api":"GET https://service.pcibooking.net/api/sftp/{serverAddress}/{folderPath}/{fileName}","href":"/api-reference/tokenize-cards/tokenize-from-sftp"}]},{"title":"Store Paycard (Card Migration)","api":"POST https://service.pcibooking.net/api/payments/paycard","href":"/api-reference/tokenize-cards/store-paycard"},{"title":"Request a Card Security Code Entry Form","sidebarTitle":"CVV Entry Form","api":"GET https://service.pcibooking.net/api/payments/cvvcapturecard","href":"/api-reference/manage-tokens/request-cvv-entry-form"},{"group":"Virtual Card Issuance","pages":[{"title":"List Virtual Card Providers","api":"GET https://service.pcibooking.net/api/VirtualCard","href":"/api-reference/tokenize-cards/list-virtual-card-providers"},{"title":"Get Virtual Card Provider","api":"GET https://service.pcibooking.net/api/VirtualCard/{name}","href":"/api-reference/tokenize-cards/get-virtual-card-provider"},{"title":"Retrieve VCP Credential Structure","sidebarTitle":"Retrieve Credential Structure","api":"GET https://service.pcibooking.net/api/credentials/virtualCardProvider/{name}","href":"/api-reference/tokenize-cards/retrieve-vcp-credential-structure"},{"title":"Issue Virtual Card","api":"POST https://service.pcibooking.net/api/VirtualCard","href":"/api-reference/tokenize-cards/issue-virtual-card"}]}]},{"group":"Manage Tokens","pages":[{"title":"Manage Tokens API Reference","href":"/api-reference/manage-tokens/overview"},{"group":"Query \u0026 Update","pages":[{"title":"Query Tokens","api":"GET https://service.pcibooking.net/api/payments/paycard/meta","href":"/api-reference/manage-tokens/query-tokens"},{"title":"Retrieve Token Metadata","sidebarTitle":"Retrieve Metadata","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardtoken}/meta","href":"/api-reference/manage-tokens/retrieve-token-metadata"},{"title":"Update Card Expiration Date","sidebarTitle":"Update Expiration","api":"PUT https://service.pcibooking.net/api/payments/paycard/{cardToken}/UpdateExpiration","href":"/api-reference/manage-tokens/update-expiration"},{"title":"Update Creator Reference","api":"PUT https://service.pcibooking.net/api/payments/paycard/{token}/creatorReference/{creatorReference}","href":"/api-reference/manage-tokens/update-creator-reference"},{"title":"Delete Creator Reference","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{token}/creatorReference","href":"/api-reference/manage-tokens/delete-creator-reference"},{"title":"Transfer Ownership","api":"PUT https://service.pcibooking.net/api/payments/paycard/{cardToken}/externalUser/{AltCustomer}","href":"/api-reference/manage-tokens/transfer-ownership"},{"title":"Duplicate Token","api":"POST https://service.pcibooking.net/api/payments/paycard/duplicate","href":"/api-reference/manage-tokens/duplicate-token"},{"title":"Delete Token","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}","href":"/api-reference/manage-tokens/delete-token"}]},{"group":"CVV Management","pages":[{"title":"Clear CVV","api":"POST https://service.pcibooking.net/api/payments/paycard/{cardToken}/op/clearcvv","href":"/api-reference/manage-tokens/clear-cvv"},{"title":"Set CVV Retention Policy","api":"PUT https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction","href":"/api-reference/manage-tokens/set-cvv-retention-policy"},{"title":"Get CVV Retention Policy","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction","href":"/api-reference/manage-tokens/get-cvv-retention-policy"},{"title":"Get CVV Retention Policy for Specific Destination","sidebarTitle":"Get Policy (Specific)","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction/{DestinationType}/{DestinationData}","href":"/api-reference/manage-tokens/get-cvv-retention-policy-specific"},{"title":"Delete CVV Retention Policy","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction","href":"/api-reference/manage-tokens/delete-cvv-retention-policy"},{"title":"Delete CVV Retention Policy by Destination Type","sidebarTitle":"Delete Policy (Type)","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction/{DestinationType}","href":"/api-reference/manage-tokens/delete-cvv-retention-policy-type"},{"title":"Delete CVV Retention Policy by Destination","sidebarTitle":"Delete Policy (Destination)","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}/cvv/Restriction/{DestinationType}/{DestinationData}","href":"/api-reference/manage-tokens/delete-cvv-retention-policy-type-data"}]},{"group":"3D Secure","pages":[{"title":"Store 3D Secure Data","api":"PUT https://service.pcibooking.net/api/payments/paycard/{cardToken}/3dToken","href":"/api-reference/manage-tokens/store-3d-token"},{"title":"Retrieve 3D Secure Data","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardToken}/3dToken","href":"/api-reference/manage-tokens/retrieve-3d-token"},{"title":"Delete 3D Secure Data","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}/3dToken","href":"/api-reference/manage-tokens/delete-3d-token"}]},{"group":"Third-Party Permissions","pages":[{"title":"Associate with Customer","sidebarTitle":"Associate with Customer","api":"PUT https://service.pcibooking.net/api/payments/paycard/{cardToken}/user/{userID}","href":"/api-reference/manage-tokens/associate-with-customer"},{"title":"Disassociate from Customer","sidebarTitle":"Disassociate from Customer","api":"DELETE https://service.pcibooking.net/api/payments/paycard/{cardToken}/user/{userID}","href":"/api-reference/manage-tokens/disassociate-from-customer"},{"title":"List Customer Associations","sidebarTitle":"List Customer Associations","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardToken}/users","href":"/api-reference/manage-tokens/list-customer-associations"}]}]},{"group":"Use Tokens","pages":[{"title":"Use Tokens API Reference","href":"/api-reference/process-cards/overview"},{"group":"Token Replacement","pages":[{"title":"Token Replacement in Request API","sidebarTitle":"Token Replacement","api":"POST https://service.pcibooking.net/api/payments/paycard/relay","href":"/api-reference/process-cards/token-replacement"},{"title":"Token Replacement to sFTP","api":"PUT https://service.pcibooking.net/api/sftp/{serverAddress}/{folderPath}/{fileName}","href":"/api-reference/process-cards/token-replacement-sftp"},{"title":"Token Replacement to FTPS","api":"PUT https://service.pcibooking.net/api/ftps/{serverAddress}/{folderPath}/{fileName}","href":"/api-reference/process-cards/token-replacement-ftps"},{"title":"Delete File from sFTP or FTPS","sidebarTitle":"Delete File (sFTP/FTPS)","description":"Delete a file on an sFTP or FTPS server through PCI Booking, for example a source file that contained card data.","api":"DELETE https://service.pcibooking.net/api/sftp/{serverAddress}/{filePath}","href":"/api-reference/process-cards/delete-file-sftp"}]},{"group":"Payment Gateway","pages":[{"title":"Process Transaction","api":"POST https://service.pcibooking.net/api/paymentGateway","href":"/api-reference/process-cards/process-transaction"},{"title":"Additional Guidance for Specific Payment Gateways","description":"PSP-specific parameter requirements, quirks, and configuration notes for each payment gateway supported by PCI Booking.","href":"/api-reference/process-cards/gateway-guidance"}]},{"group":"Card Display","pages":[{"title":"Request a Card Display Form","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardtoken}/display","href":"/api-reference/process-cards/request-card-display-form"},{"title":"Initiate Card Display with OTP","sidebarTitle":"Card Display with OTP","api":"POST https://service.pcibooking.net/api/card-view-request/initView","href":"/api-reference/process-cards/card-display-otp"}]},{"title":"Retrieve Card Details","api":"GET https://service.pcibooking.net/api/payments/paycard/{cardToken}","href":"/api-reference/manage-tokens/retrieve-card-details"},{"title":"Risk Assessment API","api":"POST https://service.pcibooking.net/api/payments/paycard/{cardToken}/op/validate","href":"/api-reference/manage-tokens/risk-assessment"}]},{"group":"Additional Functions","pages":[{"title":"Get Payment Gateways","api":"GET https://service.pcibooking.net/api/paymentGateway","href":"/api-reference/process-cards/get-payment-gateways"},{"group":"Gateway Credentials","pages":[{"title":"Retrieve Payment Gateway Credential Structure","api":"GET https://service.pcibooking.net/api/credentials/paymentGateway/{name}","href":"/api-reference/process-cards/retrieve-credential-structure"},{"title":"Store Payment Gateway Credentials","api":"PUT https://service.pcibooking.net/api/credentials/{credentialsId}","href":"/api-reference/process-cards/store-credentials"},{"title":"List Payment Gateway Credentials","api":"GET https://service.pcibooking.net/api/credentials","href":"/api-reference/process-cards/list-credentials"},{"title":"Delete Payment Gateway Credentials","api":"DELETE https://service.pcibooking.net/api/credentials/{credentialsId}","href":"/api-reference/process-cards/delete-credentials"}]},{"group":"Data Blocks","pages":[{"title":"Create Data Block","api":"POST https://service.pcibooking.net/api/dataBlock","href":"/api-reference/additional/create-data-block"},{"title":"Get Data Block Details","api":"GET https://service.pcibooking.net/api/dataBlock/{id}","href":"/api-reference/additional/get-data-block-details"},{"title":"Update Data Block Details","api":"PUT https://service.pcibooking.net/api/dataBlock/{id}","href":"/api-reference/additional/update-data-block-details"},{"title":"Delete Data Block","api":"DELETE https://service.pcibooking.net/api/dataBlock/{id}","href":"/api-reference/additional/delete-data-block"},{"title":"Search Data Blocks","api":"GET https://service.pcibooking.net/api/dataBlock","href":"/api-reference/additional/search-data-blocks"},{"title":"Upload Data Block Content","api":"PUT https://service.pcibooking.net/api/datablock/{id}/data","href":"/api-reference/additional/upload-data-block-content"},{"title":"Download Data Block Content","api":"GET https://service.pcibooking.net/api/datablock/{id}/data","href":"/api-reference/additional/download-data-block-content"}]},{"group":"Contact Verification","pages":[{"title":"Create a Verification","api":"POST https://service.pcibooking.net/api/verify","href":"/api-reference/additional/create-verification"},{"title":"Get Verification Status","api":"GET https://service.pcibooking.net/api/verify/{verificationId}","href":"/api-reference/additional/get-verification-status"},{"title":"Get Verification Results","api":"GET https://service.pcibooking.net/api/verify/{verificationId}/results","href":"/api-reference/additional/get-verification-results"},{"title":"Receive Result Notification","href":"/api-reference/additional/receive-result-notification"}]},{"group":"Network Tokenization","pages":[{"title":"Network Tokenize a Card","api":"POST https://service.pcibooking.net/api/networkToken","href":"/api-reference/additional/network-tokenize-card"},{"title":"Network Tokenize from Existing Token","sidebarTitle":"Network Tokenize from Token","api":"POST https://service.pcibooking.net/api/networkToken/token","href":"/api-reference/additional/network-tokenize-from-token"},{"title":"Delete Network Token","api":"DELETE https://service.pcibooking.net/api/networkToken","href":"/api-reference/additional/delete-network-token"}]}]},{"group":"Payments Library","pages":[{"group":"Library Setup \u0026 Use","pages":[{"title":"Create Payments Library Session","api":"POST https://service.pcibooking.net/api/eWalletOperation","href":"/api-reference/payments-library/create-session"},{"title":"Validate Operation Result","sidebarTitle":"Validate Operation","api":"POST https://service.pcibooking.net/api/eWalletOperation/validateResults","href":"/api-reference/payments-library/validate-operation"}]},{"group":"Library Account Management","pages":[{"title":"Retrieve Digital Wallet Credential Structure","sidebarTitle":"Retrieve Credential Structure","api":"GET https://service.pcibooking.net/api/eWalletOperation","href":"/api-reference/payments-library-accounts/retrieve-credential-structure"},{"title":"Store Digital Wallet Credentials","api":"PUT https://service.pcibooking.net/api/eWalletAccounts/{credentialsId}","href":"/api-reference/payments-library-accounts/store-credentials"},{"title":"List Digital Wallet Credentials","sidebarTitle":"List Credentials","api":"GET https://service.pcibooking.net/api/eWalletAccounts","href":"/api-reference/payments-library-accounts/list-credentials"},{"title":"Delete Digital Wallet Credentials","api":"DELETE https://service.pcibooking.net/api/eWalletAccounts/{credentialsId}","href":"/api-reference/payments-library-accounts/delete-credentials"}]}]}]}]},"title":"Process Transaction - PCI Booking","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js"]}