POST ../trade/v1/paymentListed below are the most common parameters for the payment endpoint. Please refer to the payment scenario applicable to you for additional parameters.
Amount of the transaction. Unit in cents (i.e. 100 = $1). Suggest value > 200 to avoid risk control.
txcurrcd
Yes
String(3)
Transaction currency. View the Currencies table for a complete list of available currencies
pay_type
Yes
String(6)
Please refer to the section Payment Types for a complete list of payment types
out_trade_no
Yes
String(128)
External transaction number / Merchant platform transaction number: This parameter must be unique for each payment and refund request under the same merchant account in the system.
txdtm
Yes
String(20)
Transaction time format: YYYY-MM-DD hh:mm:ss
auth_code
Yes (CPM only)
String(128)
Specifies the authorisation code for scanning a barcode/QR Code. Each auth_code can be used only once and expires within one day. For testing CPM with Alipay or WeChat Pay, the auth_code can be extracted from the consumer wallet or scanned from the barcode manually.
expired_time
No (MPM only)
String(3)
QRC expiration time in minutes. Default: 30 mins. Minimum: 5 mins, Maximum: 120 mins. Available for: 800201, 800101, 801512, 801501, 801107, 801101, 801010, 801510
goods_name
No
String(64)
Goods name or item description. Cannot exceed 20 alphanumeric characters or contain special characters. Must be UTF-8 encoded if in Chinese. Required for App payments.
mchid
No
String(16)
May or may not be given to merchant. If mchid is assigned, it is mandatory to provide it in API requests. If mchid is not assigned, it must not be included in the request.
udid
No
String(40)
Unique device ID. Used for internal transaction tracking.
notify_url
No
String(256)
URL to receive asynchronous notifications once payment is completed.
Required Parameter Settings in HTTP Header to Request the API
Field
Mandatory
Description
X-QF-APPCODE
Yes
App code assigned to the merchant
X-QF-SIGN
Yes
Signature generated according to the signature formulation method described above
X-QF-SIGNTYPE
No
Signature algorithm used to generate the signature. If SHA256 is used, the developer must pass the value as SHA256. The default value is MD5 in case this field is not passed to the API.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"QFPay Developer Centre","colors":{"primary":"#005FCC","light":"#4EA8FF","dark":"#004299"},"logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/qfpay-8e347952/logo.png","dark":"https://mintcdn.com/qfpay-8e347952/d02nWBorZX3ongpm/images/logo_dark.jpg?fit=max\u0026auto=format\u0026n=d02nWBorZX3ongpm\u0026q=85\u0026s=d2daee818f0c5f75c3d5cb6fe108625a"},"favicon":{"light":"https://mintcdn.com/qfpay-8e347952/d02nWBorZX3ongpm/images/logo.png?fit=max\u0026auto=format\u0026n=d02nWBorZX3ongpm\u0026q=85\u0026s=4b7ccf1220fedeaf6cde662b6e80e792","dark":"https://mintcdn.com/qfpay-8e347952/d02nWBorZX3ongpm/images/logo_dark.jpg?fit=max\u0026auto=format\u0026n=d02nWBorZX3ongpm\u0026q=85\u0026s=d2daee818f0c5f75c3d5cb6fe108625a"},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:technical.support@qfpay.com","label":"Support"}]},"footer":{"socials":{"website":"https://qfpay.global"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"qfpay-8e347952","hasAudioNarration":false,"actualSubdomain":"qfpay-8e347952","customDomains":["sdk.qfapi.com"],"gitSource":{"type":"github","owner":"qfpay","repo":"docs-mintlify","deployBranch":"develop","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af1a1e8c512f82174897f24","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"en","tag":"Integration","count":50},{"language":"zh-Hant","tag":"對接指南","count":50},{"language":"en","tag":"Online Payments","count":26},{"language":"zh-Hant","tag":"線上支付","count":26},{"language":"en","tag":"Integration by Payment Type","count":12},{"language":"en","tag":"Integration by Use Case","count":12},{"language":"zh-Hant","tag":"按支付方式整合","count":12},{"language":"zh-Hant","tag":"按支付場景整合","count":12},{"language":"en","tag":"API Reference","count":6},{"language":"zh-Hant","tag":"API 參考文件","count":6},{"language":"en","tag":"Shared Endpoints","count":5},{"language":"en","tag":"In-Store Payments","count":5},{"language":"en","tag":"Wechat","count":5},{"language":"zh-Hant","tag":"共用端點","count":5},{"language":"zh-Hant","tag":"實體店支付","count":5},{"language":"zh-Hant","tag":"微信支付","count":5},{"language":"en","tag":"Recurring Payments","count":4},{"language":"en","tag":"Preparation","count":4},{"language":"zh-Hant","tag":"定期付款","count":4},{"language":"zh-Hant","tag":"準備","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"technical.support@qfpay.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"integration/api-reference/request-format","slug":"/integration/api-reference/request-format","pageMetadata":{"title":"Request Format","id":"request-format","sidebar_label":"Request Format","description":null,"href":"/integration/api-reference/request-format"},"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`,hr:`hr`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`http-request`,children:`HTTP Request`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST ../trade/v1/payment`})}),`\n`,_jsx(_components.p,{children:`Listed below are the most common parameters for the payment endpoint. Please refer to the payment scenario applicable to you for additional parameters.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`common-payment-request-parameters`,children:`Common Payment Request Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Attribute`}),_jsx(_components.th,{children:`Mandatory`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txamt`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Int(11)`}),_jsx(_components.td,{children:`Amount of the transaction. Unit in cents (i.e. 100 = $1). Suggest value > 200 to avoid risk control.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txcurrcd`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`String(3)`}),_jsxs(_components.td,{children:[`Transaction currency. View the `,_jsx(_components.a,{href:`/integration/api-reference/currencies`,children:`Currencies`}),` table for a complete list of available currencies`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pay_type`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`String(6)`}),_jsxs(_components.td,{children:[`Please refer to the section `,_jsx(_components.a,{href:`/integration/api-reference/paytypes`,children:`Payment Types`}),` for a complete list of payment types`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`out_trade_no`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`String(128)`}),_jsx(_components.td,{children:`External transaction number / Merchant platform transaction number: This parameter must be unique for each payment and refund request under the same merchant account in the system.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txdtm`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`String(20)`}),_jsxs(_components.td,{children:[`Transaction time format:`,_jsx(`br`,{}),` YYYY-MM-DD hh:mm:ss`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`auth_code`})}),_jsxs(_components.td,{children:[`Yes`,_jsx(`br`,{}),`(CPM only)`]}),_jsx(_components.td,{children:`String(128)`}),_jsxs(_components.td,{children:[`Specifies the authorisation code for scanning a barcode/QR Code. Each `,_jsx(_components.code,{children:`auth_code`}),` can be used only once and expires within one day. For testing CPM with Alipay or WeChat Pay, the `,_jsx(_components.code,{children:`auth_code`}),` can be extracted from the consumer wallet or scanned from the barcode manually.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expired_time`})}),_jsxs(_components.td,{children:[`No`,_jsx(`br`,{}),`(MPM only)`]}),_jsx(_components.td,{children:`String(3)`}),_jsxs(_components.td,{children:[`QRC expiration time in minutes. Default: 30 mins. Minimum: 5 mins, Maximum: 120 mins. `,_jsx(`br`,{}),`Available for: `,_jsx(`br`,{}),`800201, 800101, 801512, 801501, 801107, 801101, 801010, 801510`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`goods_name`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`String(64)`}),_jsx(_components.td,{children:`Goods name or item description. Cannot exceed 20 alphanumeric characters or contain special characters. Must be UTF-8 encoded if in Chinese. Required for App payments.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mchid`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`String(16)`}),_jsxs(_components.td,{children:[`May or may not be given to merchant. `,_jsx(`br`,{}),_jsx(_components.strong,{children:_jsx(_components.code,{children:`If mchid is assigned`})}),`, it is mandatory to provide it in API requests.`,_jsx(`br`,{}),_jsx(_components.strong,{children:_jsx(_components.code,{children:`If mchid is not assigned`})}),`, it must not be included in the request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udid`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`String(40)`}),_jsx(_components.td,{children:`Unique device ID. Used for internal transaction tracking.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notify_url`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`String(256)`}),_jsx(_components.td,{children:`URL to receive asynchronous notifications once payment is completed.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`signature-requirement`,children:`Signature Requirement`}),`\n`,_jsxs(_components.p,{children:[`For instructions on how to generate a valid signature, refer to `,_jsx(_components.a,{href:`/integration/preparation/authentication-and-signature`,children:`Signature Generation`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`request-description`,children:`Request Description`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Character`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UTF-8`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Method`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`POST/ GET`}),` (Depends on individual API function)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Content-type`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/x-www-form-urlencoded`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`required-parameter-settings-in-http-header-to-request-the-api`,children:`Required Parameter Settings in HTTP Header to Request the API`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Mandatory`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-QF-APPCODE`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`App code assigned to the merchant`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-QF-SIGN`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Signature generated according to the signature formulation method described above`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-QF-SIGNTYPE`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Signature algorithm used to generate the signature. If SHA256 is used, the developer must pass the value as `,_jsx(_components.code,{children:`SHA256`}),`. The default value is `,_jsx(_components.code,{children:`MD5`}),` in case this field is not passed to the API.`]})]})]})]})]})}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":"Request Format","id":"request-format","sidebar_label":"Request Format","description":null,"href":"/integration/api-reference/request-format"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"HTTP Request","slug":"http-request","depth":3,"children":[]},{"title":"Common Payment Request Parameters","slug":"common-payment-request-parameters","depth":3,"children":[]},{"title":"Signature Requirement","slug":"signature-requirement","depth":3,"children":[]},{"title":"Request Description","slug":"request-description","depth":3,"children":[]},{"title":"Required Parameter Settings in HTTP Header to Request the API","slug":"required-parameter-settings-in-http-header-to-request-the-api","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"qfpay-8e347952","siteName":"QFPay Developer Centre","title":"Request Format - QFPay Developer Centre","contextualStarterQuestions":[{"_id":"6ab2323d36f3601e34c2c81b","deploymentId":"6980640906bd66be2350a365","questionText":"Where do I find payment types?","status":"active","generatedBy":"contextual","path":"integration/api-reference/request-format","createdAt":"2026-09-22T07:46:05.609Z","updatedAt":"2026-09-22T07:46:05.609Z","__v":0},{"_id":"6ab2323d36f3601e34c2c81a","deploymentId":"6980640906bd66be2350a365","questionText":"How do I format the amount field?","status":"active","generatedBy":"contextual","path":"integration/api-reference/request-format","createdAt":"2026-09-22T07:46:05.609Z","updatedAt":"2026-09-22T07:46:05.609Z","__v":0},{"_id":"6ab2323d36f3601e34c2c819","deploymentId":"6980640906bd66be2350a365","questionText":"What are required payment parameters?","status":"active","generatedBy":"contextual","path":"integration/api-reference/request-format","createdAt":"2026-09-22T07:46:05.609Z","updatedAt":"2026-09-22T07:46:05.609Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/integration/api-reference/request-format","matchLevel":0},"zh-Hant":{"href":"/zh-Hant/integration/api-reference/request-format","matchLevel":1}}},"lastModified":"2026-09-22T07:46:01.564Z","originalFileLocation":"integration/api-reference/request-format.mdx","locale":"en"},"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=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"QFPay Developer Centre\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_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/qfpay-8e347952/8ne0KolOvSTHgeon/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Request Format - QFPay Developer Centre\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"QFPay Developer Centre\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sdk.qfapi.com/integration/api-reference/request-format\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://qfpay-8e347952.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Request+Format\u0026amp;theme=98a0922fe001d0bfa88cf20e\u0026amp;signature=6638b5fa02672eb08934173960e97f1b4c05433d70ae1d846778aa3e87e8e55b\">\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=\"Request Format - QFPay Developer Centre\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://qfpay-8e347952.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Request+Format\u0026amp;theme=98a0922fe001d0bfa88cf20e\u0026amp;signature=6638b5fa02672eb08934173960e97f1b4c05433d70ae1d846778aa3e87e8e55b\">\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/qfpay-8e347952/8ne0KolOvSTHgeon/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"QFPay Developer Centre\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#005FCC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sdk.qfapi.com/integration/api-reference/request-format\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integration/api-reference/request-format.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://sdk.qfapi.com/integration/api-reference/request-format\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://sdk.qfapi.com/zh-Hant/integration/api-reference/request-format\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://sdk.qfapi.com/integration/api-reference/request-format\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sdk.qfapi.com/#organization\",\"name\":\"QFPay Developer Centre\",\"url\":\"https://sdk.qfapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/qfpay-8e347952/logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sdk.qfapi.com#website\",\"name\":\"QFPay Developer Centre\",\"url\":\"https://sdk.qfapi.com\",\"publisher\":{\"@id\":\"https://sdk.qfapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sdk.qfapi.com/integration/api-reference/request-format#webpage\",\"url\":\"https://sdk.qfapi.com/integration/api-reference/request-format\",\"name\":\"Request Format\",\"dateModified\":\"2026-09-22T07:46:01.564Z\",\"isPartOf\":{\"@id\":\"https://sdk.qfapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://sdk.qfapi.com/integration/api-reference/request-format#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sdk.qfapi.com/integration/api-reference/request-format#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://sdk.qfapi.com/integration/api-reference/api-usage-guidelines\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Request Format\",\"item\":\"https://sdk.qfapi.com/integration/api-reference/request-format\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://sdk.qfapi.com/integration/api-reference/request-format#article\",\"headline\":\"Request Format\",\"name\":\"Request Format\",\"url\":\"https://sdk.qfapi.com/integration/api-reference/request-format\",\"mainEntityOfPage\":{\"@id\":\"https://sdk.qfapi.com/integration/api-reference/request-format#webpage\"},\"dateModified\":\"2026-09-22T07:46:01.564Z\",\"publisher\":{\"@id\":\"https://sdk.qfapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://sdk.qfapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"QFPay Developer Centre\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"QFPay Developer Centre\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integration/api-reference/request-format.md","siteName":"QFPay Developer Centre","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"Integration","pages":[{"group":"Preparation","pages":[{"title":"Before You Begin","href":"/integration/preparation/before-you-begin"},{"title":"Credentials \u0026 Merchant Structure","href":"/integration/preparation/credentials-and-merchant-structure"},{"title":"Authentication \u0026 Signature","href":"/integration/preparation/authentication-and-signature"},{"title":"Environments","href":"/integration/preparation/environments"}]},{"group":"Business Scenarios","pages":[{"title":"Self-Service Retail Machine","href":"/integration/business-scenarios/self-service-retail"},{"title":"Physical Store / Restaurant","href":"/integration/business-scenarios/physical-store"}]},{"group":"API Reference","pages":[{"title":"API Usage Guidelines","href":"/integration/api-reference/api-usage-guidelines"},{"title":"Supported Currencies","href":"/integration/api-reference/currencies"},{"title":"Payment Types","description":null,"href":"/integration/api-reference/paytypes"},{"title":"Request Format","href":"/integration/api-reference/request-format"},{"title":"Response Format","description":null,"href":"/integration/api-reference/response-format"},{"title":"Transaction Status Codes","href":"/integration/api-reference/status-codes"}]},{"group":"In-Store Payments","pages":[{"title":"Merchant Present Mode (MPM)","href":"/integration/in-store/MPM"},{"title":"Consumer Present Mode (CPM)","href":"/integration/in-store/CPM"},{"group":"POS API","pages":[{"title":"App Call App Android SDK","href":"/integration/in-store/pos-api/app-call-app"},{"title":"ECR Integration Technical Specification","href":"/integration/in-store/pos-api/ecr"},{"title":"HTTPS Setup for ECR Integration","href":"/integration/in-store/pos-api/ecr-https"}]}]},{"group":"Online Payments","pages":[{"group":"Checkout Integration","pages":[{"title":"Hosted Checkout Page","href":"/integration/online-shop/checkout-integration/checkout"},{"title":"Element SDK","href":"/integration/online-shop/checkout-integration/payment-element"}]},{"group":"Integration by Payment Type","pages":[{"group":"Alipay","pages":[{"title":"Alipay In-App Payments","href":"/integration/online-shop/integration-by-payment-type/alipay/alipay-in-app"},{"title":"Alipay WAP / H5 Payments","href":"/integration/online-shop/integration-by-payment-type/alipay/alipay-wap-h5-payments"},{"title":"Alipay Web Payments","href":"/integration/online-shop/integration-by-payment-type/alipay/alipay-web-payments"}]},{"group":"FPS","pages":[{"title":"FPS App-to-App Integration","href":"/integration/online-shop/integration-by-payment-type/fps/fps-app-call-app"},{"title":"FPS e-Cert Certificate Application and Setup Guide","href":"/integration/online-shop/integration-by-payment-type/fps/fps-ecert-setup"}]},{"group":"Wechat","pages":[{"title":"WeChat In-App Payments (Native App)","href":"/integration/online-shop/integration-by-payment-type/wechat/wechat-in-app-payments"},{"title":"WeChat JSAPI Payment (Official Account)","href":"/integration/online-shop/integration-by-payment-type/wechat/wechat-jsapi-payment"},{"title":"WeChat Mini Programs","href":"/integration/online-shop/integration-by-payment-type/wechat/wechat-mini-programs"},{"title":"WeChat H5 Payment (Third-Party Browser)","href":"/integration/online-shop/integration-by-payment-type/wechat/wechat-pay-h5"},{"title":"WeChat QR Code Payment","href":"/integration/online-shop/integration-by-payment-type/wechat/wechat-web-qr-payment"}]},{"title":"Visa / Mastercard Online Payments","href":"/integration/online-shop/integration-by-payment-type/visa-master-online-payment"},{"title":"Apple Pay Support","href":"/integration/online-shop/integration-by-payment-type/applepay"}]},{"group":"Integration by Use Case","pages":[{"title":"Web Payment","href":"/integration/online-shop/integration-by-use-case/web-payment"},{"title":"WAP Payment (Mobile Browser)","href":"/integration/online-shop/integration-by-use-case/wap-payment"},{"title":"In-App Payment (Native App Integration)","href":"/integration/online-shop/integration-by-use-case/in-app-payment"},{"title":"Online Pre-authorisation API","href":"/integration/online-shop/integration-by-use-case/preauth"},{"title":"Card BIN Promotions","href":"/integration/online-shop/integration-by-use-case/card-bin-promotions"},{"group":"Saved Payment Methods","pages":[{"title":"Saved Payment Methods Overview","sidebarTitle":"Overview","href":"/integration/online-shop/integration-by-use-case/saved-payment-methods/overview"},{"title":"Customer \u0026 Token Setup","sidebarTitle":"Customer \u0026 Token Setup","href":"/integration/online-shop/integration-by-use-case/saved-payment-methods/customer-token-setup"},{"title":"Token Notification","sidebarTitle":"Token Notification","href":"/integration/online-shop/integration-by-use-case/saved-payment-methods/token-notification"}]},{"group":"Recurring Payments","pages":[{"title":"Recurring Payment Overview","href":"/integration/online-shop/integration-by-use-case/recurring-payments/recurring-overview"},{"title":"Subscription API Reference","href":"/integration/online-shop/integration-by-use-case/recurring-payments/recurring-api-reference"},{"title":"Subscription Webhook (Recurring Payment Notifications)","href":"/integration/online-shop/integration-by-use-case/recurring-payments/recurring-webhook"},{"title":"Integration Guide for Recurring Payments","href":"/integration/online-shop/integration-by-use-case/recurring-payments/recurring-integration-guide"}]}]}]},{"group":"Shared Endpoints","pages":[{"title":"Transaction Enquiry","href":"/integration/common-api/transaction-enquiry"},{"title":"Reversal API Guide","href":"/integration/common-api/reversal"},{"title":"Refund API Guide","href":"/integration/common-api/refund"},{"title":"Asynchronous Notifications","href":"/integration/common-api/async-notifications"},{"title":"Transaction Notes API","href":"/integration/common-api/transaction-note"}]},{"title":"Customs Declaration API","href":"/integration/customs-declaration"},{"title":"FAQs","href":"/integration/FAQs"}]}],"global":{"anchors":[{"anchor":"QFPay Main Site","icon":"book-open-cover","href":"https://www.qfpay.global"}]}},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/integration/api-reference/request-format"}]}]},"basePath":"","title":"Request Format - QFPay Developer Centre","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}