1"use strict";(self.webpackChunkvietqr_docusaurus=self.webpackChunkvietqr_docusaurus||[]).push([[8332],{2179:e=>{e.exports=JSON.parse('{"url":"redocusaurus/paymentLink.yaml","themeId":"theme-redoc","isSpecFile":true,"spec":{"openapi":"3.1.3","info":{"version":"v2/paymentRequests","title":"VietQR.IO"},"servers":[{"url":"https://api.vietqr.io/v2"}],"paths":{"/paymentRequests":{"post":{"security":[{"x-client-id":[],"x-api-key":[]}],"summary":"T\u1ea1o link thanh to\xe1n","description":"API d\xf9ng \u0111\u1ec3 t\u1ea1o link thanh to\xe1n \u0111\u01a1n h\xe0ng\\n","operationId":"paymentLink","requestBody":{"$ref":"#/components/requestBodies/PaymentLink"},"responses":{"200":{"description":"S\u1ed1 t\xe0i kho\u1ea3n h\u1ee3p l\u1ec7\\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"},"examples":{"Success":{"description":"Success - Th\xe0nh c\xf4ng","value":{"code":"00","desc":"Success - Th\xe0nh c\xf4ng","data":{"id":"a7a9454060cd48909864b3747289ff38","amount":3000,"description":"VQRIO12546 Thanh toan iphone","orderCode":1254,"buyerEmail":"[email protected]","status":"PENDING","checkoutUrl":"https://api.vietqr.io/web/a7a9454060cd48909864b3747289ff38"}}}}}}},"429":{"description":"Too Many Request - G\u1ecdi API qu\xe1 nhi\u1ec1u\\n"}}}},"/paymentGateway/confirmWebhook":{"post":{"security":[{"x-client-id":[],"x-api-key":[]}],"summary":"T\xedch h\u1ee3p webhook v\xe0o VietQR","description":"API d\xf9ng \u0111\u1ec3 c\xe1c website t\xedch h\u1ee3p webhook \u0111\u1ec3 VietQR g\u1eedi d\u1eef li\u1ec7u thanh to\xe1n\\n","requestBody":{"$ref":"#/components/requestBodies/ConfirmWebhook"},"responses":{"200":{"222":{"description":"Webhook url c\u1ee7a b\u1ea1n hi\u1ec7n \u0111ang kh\xf4ng ho\u1ea1t \u0111\u1ed9ng.\\n"},"description":"Th\xe0nh c\xf4ng\\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmWebhook"},"examples":{"Success":{"description":"Success - Th\xe0nh c\xf4ng","value":{"code":"00","desc":"success","data":{"id":105,"user_id":172,"account_id":11,"name":"test","prefix_order_code":"encode","qr_template":"PqIalUq","webhook_url":"https://example.com/receiveWebhook","logo_url":"https://logo.png","account_number":"1230103032004","account_name":"NGUYEN TRUNG HIEU","short_name":"MBBank"}}}}}}}}}}},"webhooks":{"resultPayment":{"post":{"security":[{"secure-token":[]}],"summary":"VietQR g\u1eedi d\u1eef li\u1ec7u thanh to\xe1n \u0111\u1ebfn wehbook c\u1ee7a c\u1eeda h\xe0ng","description":"API c\u1ee7a c\u1eeda h\xe0ng d\xf9ng \u0111\u1ec3 nh\u1eadn c\xe1c th\xf4ng tin giao d\u1ecbch t\u1eeb VietQR Payment KIT g\u1eedi qua \u0111\u1ed1i v\u1edbi c\xe1c c\u1ed5ng li\xean k\u1ebft TK ng\xe2n h\xe0ng b\u1eb1ng Casso.","operationId":"webhook-merchant","requestBody":{"$ref":"#/components/requestBodies/WebhookTransaction"},"responses":{"2XX":{"description":"Ph\u1ea3n h\u1ed3i tr\u1ea1ng th\xe1i m\xe3 2XX \u0111\u1ec3 x\xe1c nh\u1eadn webhook g\u1eedi th\xe0nh c\xf4ng"}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","required":["code","desc"],"properties":{"code":{"description":"M\xe3 l\u1ed7i","type":"string"},"desc":{"description":"Th\xf4ng tin l\u1ed7i","type":"string"}}},"ConfirmWebhook":{"allOf":[{"$ref":"#/components/schemas/ApiResponse"},{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/ConfirmWebhookData"}],"type":"object"}}}]},"PaymentLink":{"description":"T\u1ea1o link thanh to\xe1n","allOf":[{"$ref":"#/components/schemas/ApiResponse"},{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/PaymentLinkData"}],"type":"object"}}}]},"ConfirmWebhookData":{"properties":{"id":{"description":"Id c\u1ed5ng thanh to\xe1n","type":"number"},"user_id":{"description":"Id c\u1ee7a ng\u01b0\u1eddi t\u1ea1o c\u1ed5ng","type":"number"},"account_id":{"description":"Id c\u1ee7a t\xe0i kho\u1ea3n t\u1ea1o c\u1ed5ng","type":"number"},"name":{"description":"T\xean c\u1ed5ng thanh to\xe1n","type":"string"},"prefix_order_code":{"description":"Ti\u1ec1n t\u1ed1 \u0111\u01a1n h\xe0ng","type":"string"},"qr_template":{"description":"M\xe3 \u0111\u1ecbnh danh c\u1ee7a m\u1eabu vietqr","type":"string"},"webhook_url":{"description":"T\xean api \u0111\u1ec3 x\xe1c nh\u1eadn thanh to\xe1n","type":"string"},"logo_url":{"description":"\u1ea2nh c\u1ee7a c\u1ed5ng thanh to\xe1n","type":"string"},"account_number":{"description":"S\u1ed1 t\xe0i kho\u1ea3n","type":"string"},"account_name":{"description":"T\xean t\xe0i kho\u1ea3n","type":"string"},"short_name":{"description":"T\xean ng\xe2n h\xe0ng","type":"string"}}}
1,"PaymentLinkData":{"properties":{"paymentLinkId":{"description":"M\xe3 thanh to\xe1n","type":"integer"},"id":{"description":"M\xe3 \u0111\u1ecbnh danh link thanh to\xe1n","type":"string"},"checkoutUrl":{"description":"Link thanh to\xe1n","type":"string"}}},"WebhookTransactionData":{"required":["orderCode","amount","description","accountNumber"],"properties":{"orderCode":{"description":"M\xe3 \u0111\u01a1n h\xe0ng t\u1eeb c\u1eeda h\xe0ng","type":"integer","example":123},"amount":{"description":"S\u1ed1 ti\u1ec1n thanh to\xe1n","type":"integer","example":3000},"description":{"description":"M\xf4 t\u1ea3 thanh to\xe1n","type":"integer","example":"VQPMK123"},"accountNumber":{"description":"S\u1ed1 t\xe0i kho\u1ea3n ng\xe2n h\xe0ng","type":"string","example":12345678},"privateId":{"description":"M\xe3 giao d\u1ecbch \u1edf Casso. M\u1ed7i giao d\u1ecbch c\xf3 m\u1ed9t m\xe3 duy nh\u1ea5t tr\xean to\xe0n h\u1ec7 th\u1ed1ng","type":"number","example":12323},"reference":{"description":"M\xe3 tham chi\u1ebfu giao d\u1ecbch, d\xf9ng \u0111\u1ec3 tra so\xe1t v\u1edbi ng\xe2n h\xe0ng","type":"string","example":"TF230204212323"},"transactionDatetime":{"description":"Ng\xe0y gi\u1edd giao d\u1ecbch th\u1ef1c hi\u1ec7n th\xe0nh c\xf4ng","type":"string","example":"2023-02-04 18:25:00"},"paymentLinkId":{"description":"M\xe3 thanh to\xe1n","type":"number","example":2334},"code":{"description":"M\xe3 l\u1ed7i c\u1ee7a giao d\u1ecbch","type":"string","example":"00"},"desc":{"description":"Th\xf4ng tin l\u1ed7i c\u1ee7a giao d\u1ecbch","type":"string","example":"Th\xe0nh c\xf4ng"},"counterAccountBankId":{"type":"string"},"counterAccountBankName":{"type":"string"},"counterAccountName":{"type":"string"},"counterAccountNumber":{"type":"string"},"virtualAccountName":{"type":"string"},"virtualAccountNumber":{"type":"string"}}}},"requestBodies":{"ConfirmWebhook":{"content":{"application/json":{"schema":{"type":"object","required":["webhook_url"],"properties":{"webhook_url":{"description":"Link d\xf9ng \u0111\u1ec3 l\xe0m webhook","type":"string","example":"https://example.com/receiveWebhook"}}}}}},"PaymentLink":{"content":{"application/json":{"schema":{"type":"object","required":["orderCode","amount","description","email"],"properties":{"orderCode":{"description":"M\xe3 \u0111\u01a1n h\xe0ng","type":"integer","example":123},"amount":{"description":"S\u1ed1 ti\u1ec1n thanh to\xe1n","type":"integer","example":56000000},"description":{"description":"M\xf4 t\u1ea3 thanh to\xe1n","type":"integer","example":"VQPMK123"},"buyerName":{"description":"T\xean c\u1ee7a ng\u01b0\u1eddi mua h\xe0ng. Th\xf4ng tin d\xf9ng trong tr\u01b0\u1eddng h\u1ee3p t\xedch h\u1ee3p t\u1ea1o ho\xe1 \u0111\u01a1n \u0111i\u1ec7n t\u1eed.","type":"string","example":"Nguyen Van A"},"buyerEmail":{"description":"Email c\u1ee7a ng\u01b0\u1eddi mua h\xe0ng. Th\xf4ng tin d\xf9ng trong tr\u01b0\u1eddng h\u1ee3p t\xedch h\u1ee3p t\u1ea1o ho\xe1 \u0111\u01a1n \u0111i\u1ec7n t\u1eed.","type":"string","example":"[email protected]"},"buyerPhone":{"description":"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i ng\u01b0\u1eddi mua h\xe0ng. Th\xf4ng tin d\xf9ng trong tr\u01b0\u1eddng h\u1ee3p t\xedch h\u1ee3p t\u1ea1o ho\xe1 \u0111\u01a1n \u0111i\u1ec7n t\u1eed.","type":"string","example":"090xxxxxxx"},"buyerAddress":{"description":"\u0110\u1ecba ch\u1ec9 c\u1ee7a ng\u01b0\u1eddi mua h\xe0ng. Th\xf4ng tin d\xf9ng trong tr\u01b0\u1eddng h\u1ee3p t\xedch h\u1ee3p t\u1ea1o ho\xe1 \u0111\u01a1n \u0111i\u1ec7n t\u1eed.","type":"string","example":"s\u1ed1 nh\xe0, \u0111\u01b0\u1eddng, ph\u01b0\u1eddng, t\u1ec9nh ho\u1eb7c th\xe0nh ph\u1ed1"},"template":{"description":"M\u1eabu VietQR, truy c\u1eadp https://my.vietqr.io \u0111\u1ec3 t\u1ea1o m\u1eabu ri\xeang cho DN","type":"string","example":"compact"},"items":{"type":"array","description":"Danh s\xe1ch c\xe1c s\u1ea3n ph\u1ea9m thanh to\xe1n","items":{"type":"object","required":["name","quantity","price"],"properties":{"name":{"description":"T\xean s\u1ea3n ph\u1ea9m","type":"string","example":"Iphone"},"quantity":{"description":"S\u1ed1 l\u01b0\u1ee3ng s\u1ea3n ph\u1ea9m","type":"integer","example":2},"price":{"description":"Gi\xe1 s\u1ea3n ph\u1ea9m","type":"integer","example":28000000}}}},"cancelUrl":{"description":"URL nh\u1eadn d\u1eef li\u1ec7u khi ng\u01b0\u1eddi d\xf9ng ch\u1ecdn Hu\u1ef7 \u0111\u01a1n h\xe0ng.","type":"string","example":"https://your-cancel-url.com"},"successUrl":{"description":"URL nh\u1eadn d\u1eef li\u1ec7u khi ng\u01b0\u1eddi d\xfang ch\u1ecdn T\xf4i \u0111\xe3 thanh to\xe1n","type":"string","example":"https://your-success-url.com"}}}}}},"WebhookTransaction":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiResponse"},{"type":"object","properties":{"data":{"items":{"allOf":[{"$ref":"#/components/schemas/WebhookTransactionData"}]},"type":"array"}}}]}}}}}
1,"securitySchemes":{"secure-token":{"description":"M\xe3 b\u1ea3o m\u1eadt","type":"apiKey","name":"secure-token","in":"header"},"x-client-id":{"description":"Client Id c\u1ee7a c\u1ed5ng thanh to\xe1n. B\u1ea1n c\xf3 th\u1ec3 truy c\u1eadp [My VietQR](https://my.vietqr.io) v\xe0 ch\u1ecdn v\xe0o c\u1ed5ng thanh to\xe1n b\u1ea1n mu\u1ed1n t\u1ea1o Link thanh to\xe1n \u0111\u1ec3 l\u1ea5y.\\n","type":"apiKey","name":"x-client-id","in":"header"},"x-api-key":{"description":"API Key c\u1ee7a c\u1ed5ng thanh to\xe1n. B\u1ea1n c\xf3 th\u1ec3 truy c\u1eadp [My VietQR](https://my.vietqr.io) v\xe0 ch\u1ecdn v\xe0o c\u1ed5ng thanh to\xe1n b\u1ea1n mu\u1ed1n t\u1ea1o Link thanh to\xe1n \u0111\u1ec3 l\u1ea5y.\\n","type":"apiKey","name":"x-api-key","in":"header"}}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.