{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Alignet Integration Docs","description":"Plataforma de pagos de Alignet para integrar, procesar y gestionar transacciones en canales e-commerce y POS. Incluye APIs, SDKs y herramientas para adquirentes, facilitadores de pago y comercios.","colors":{"primary":"#4A5F8F","light":"#fb7413","dark":"#fd8c29"},"logo":{"light":"https://mintcdn.com/alignet-dev/GdV3Zg74QIFmz7Gi/images/alignet-logo-header-orange-docs.png?fit=max\u0026auto=format\u0026n=GdV3Zg74QIFmz7Gi\u0026q=85\u0026s=4e9455ada8e8ef38416e179ddb5ea296","dark":"https://mintcdn.com/alignet-dev/GdV3Zg74QIFmz7Gi/images/alignet-logo-header-dark-orange-docs.png?fit=max\u0026auto=format\u0026n=GdV3Zg74QIFmz7Gi\u0026q=85\u0026s=28b725ed2d0be4ad12cc3d9b29a0b314"},"favicon":{"light":"https://mintcdn.com/alignet-dev/2sZX5LoqXAD0jhB7/images/alignet-favicon-v8.svg?fit=max\u0026auto=format\u0026n=2sZX5LoqXAD0jhB7\u0026q=85\u0026s=ab802269d67f9f9fb41f0d29e7c838e5","dark":"https://mintcdn.com/alignet-dev/2sZX5LoqXAD0jhB7/images/alignet-favicon-v8.svg?fit=max\u0026auto=format\u0026n=2sZX5LoqXAD0jhB7\u0026q=85\u0026s=ab802269d67f9f9fb41f0d29e7c838e5"},"api":{"openapi":"openapi.json","playground":{"display":"interactive"}},"appearance":{"default":"light"},"background":{"decoration":"windows","color":{"light":"#ffffff","dark":"#292929"}},"navbar":{"links":[],"primary":{"type":"button","label":"Ir a Alignet","href":"https://www.alignet.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/alignet","website":"https://www.Alignet.com"}},"fonts":{"family":"Roboto"},"styling":{"codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-RK73J9RZ3M"}},"contextual":{"options":["copy","download-pdf","chatgpt","assistant","view","claude"],"display":"header"},"navigation":{"languages":[{"language":"es","default":true,"navbar":{"links":[],"primary":{"type":"button","label":"Ir a Alignet","href":"https://www.alignet.com"}},"href":"pagos-virtuales/introduccion"},{"language":"en","navbar":{"links":[],"primary":{"type":"button","label":"Go to Alignet","href":"https://www.alignet.com"}},"href":"en/virtual-payments/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alignet-dev","hasAudioNarration":false,"actualSubdomain":"alignet-dev","customDomains":["docs.alignet.com"],"gitSource":{"type":"github","owner":"alignet-docs","repo":"alignet-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"bbb80692-a337-4e21-a745-7efc8e6cd43a","liveDeploymentHistoryId":"6aba939f45e1acc24a7db055","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aba939f45e1acc24a7db055"},"entitlements":{},"buildId":"6ad0fdbe6da312d52f7c0a02","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"es","tag":"Pagos online · Alignet One","count":68},{"language":"en","tag":"Online payments · Alignet One","count":68},{"language":"es","tag":"Primeros pasos","count":67},{"language":"en","tag":"Getting started","count":67},{"language":"es","tag":"Vista general","count":66},{"language":"en","tag":"Overview","count":66},{"language":"es","tag":"Guía","count":59},{"language":"en","tag":"Guide","count":59},{"language":"es","tag":"Integración","count":50},{"language":"es","tag":"VPOS · Versión clásica","count":50},{"language":"en","tag":"VPOS · Classic version","count":50},{"language":"en","tag":"Integration","count":50},{"language":"es","tag":"E-commerce","count":23},{"language":"en","tag":"E-commerce","count":23},{"language":"es","tag":"Botón de pago","count":22},{"language":"en","tag":"Payment button","count":22},{"language":"es","tag":"SDK Mobile","count":20},{"language":"en","tag":"Mobile SDK","count":20},{"language":"es","tag":"Procesamiento adquirente","count":16},{"language":"en","tag":"Acquiring Processing","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":true},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/alignet-dev/1d9eaceb7c7c6516/style.css"}],"page":{"pagePath":"en/api-reference/payin/authorize-ecommerce-payment","slug":"/en/api-reference/payin/authorize-ecommerce-payment","pageMetadata":{"title":"Authorize ecommerce payment","description":"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.","deprecated":null,"version":null,"openapi":"/openapi-en.json post /charges","href":"/en/api-reference/payin/authorize-ecommerce-payment","autogeneratedByOpenApi":true},"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: \"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Authorize ecommerce payment","description":"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.","deprecated":null,"version":null,"openapi":"/openapi-en.json post /charges","href":"/en/api-reference/payin/authorize-ecommerce-payment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["PayIn"],"summary":"Authorize ecommerce payment","description":"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.","operationId":"authorizeEcommercePayment","servers":["8591f150-b096-41e9-832a-a428c7bf6d6f","3b286083-8a80-4d6a-b5b0-81d54fc4c922"],"parameters":["9b40517f-d9fb-401b-ba06-ec1f09bc6a17","ea2e63e5-42b7-431c-8cce-d2a68b9b0e31"],"requestBody":"13796d92-1eaf-4de9-9b63-4a45c2e27274","responses":{"200":"3a0bc8f1-85f3-4695-9c0e-53e4a6770e58","400":"e6a1ad20-d5a4-41e2-bd77-93a5f6eb8fac","401":"b55e064c-06e5-4381-871b-1c8d60c46220"},"method":"post","type":"path","security":[],"path":"/charges","baseUrlOptions":["https://api.preprod.alignet.io","https://api.alignet.io"],"title":"Authorize ecommerce payment","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9b40517f-d9fb-401b-ba06-ec1f09bc6a17":{"name":"Authorization","in":"header","required":true,"description":"Token Bearer obtenido desde autenticacion.","schema":{"type":"string","default":"Bearer {{access_token}}","isRequired":true,"description":"Token Bearer obtenido desde autenticacion.","uniqueKey":"","typeLabel":"string"},"example":"Bearer {{access_token}}"},"ea2e63e5-42b7-431c-8cce-d2a68b9b0e31":{"name":"ALG-API-VERSION","in":"header","required":true,"description":"API version to use.","schema":{"type":"string","default":"1709847567","isRequired":true,"description":"API version to use.","uniqueKey":"","typeLabel":"string"},"example":"1709847567"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["action","channel","merchant_code","merchant_operation_number","payment_method","payment_details"],"properties":{"action":{"type":"string","description":"Accion a ejecutar.","example":"authorize","isRequired":true,"uniqueKey":"action","typeLabel":"string"},"channel":{"type":"string","description":"Transaction channel.","enum":["ecommerce"],"example":"ecommerce","isRequired":true,"uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"merchant_code":{"type":"string","description":"Merchant code.","example":"your_merchant_code","isRequired":true,"uniqueKey":"merchant_code","typeLabel":"string"},"merchant_operation_number":{"type":"string","description":"Unique operation identifier in the merchant's system.","example":"2391645","isRequired":true,"uniqueKey":"merchant_operation_number","typeLabel":"string"},"payment_method":{"oneOf":[{"type":"object","title":"Tarjeta","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["CARD"],"example":"CARD","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["pan","expiry_date","security_code","card_holder"],"properties":{"pan":{"type":"string","description":"Numero de tarjeta.","example":"4051420006041115","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.pan","typeLabel":"string"},"expiry_date":{"type":"string","description":"Fecha de expiracion en formato MMYY.","example":"1231","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.expiry_date","typeLabel":"string"},"security_code":{"type":"string","description":"Codigo de seguridad CVV.","example":"123","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.security_code","typeLabel":"string"},"card_holder":{"type":"object","required":["first_name","last_name","email","phone"],"properties":{"first_name":{"type":"string","example":"Pedro","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.first_name","typeLabel":"string"},"last_name":{"type":"string","example":"Miranda","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.last_name","typeLabel":"string"},"email":{"type":"string","example":"pedro@example.com","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.email","typeLabel":"string"},"phone":{"type":"object","required":["prefix","number"],"properties":{"prefix":{"type":"string","example":"51","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.phone.prefix","typeLabel":"string"},"number":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.phone.number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder.phone","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details.card_holder","typeLabel":"object"},"redirect_url":{"type":"string","description":"Return URL after 3DS authentication completes.","example":"https://example.com","uniqueKey":"payment_method.oneOf.0.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","description":"Host-to-host notification URL.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.0.method_details.callback_url","typeLabel":"string"},"authentication_result":{"type":"object","description":"Resultado de autenticacion 3DS obtenido previamente.","properties":{"3ds_secure":{"type":"object","properties":{"version":{"type":"string","example":"2.1.0","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.version","typeLabel":"string"},"electronic_commerce_indicator":{"type":"string","example":"05","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.electronic_commerce_indicator","typeLabel":"string"},"cardholder_authentication_verification_value":{"type":"string","example":"AJkBB5NBeQAAAD3MYENQdAAAAAA=","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.cardholder_authentication_verification_value","typeLabel":"string"},"ds_transaction_id":{"type":"string","example":"ABC123","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.ds_transaction_id","typeLabel":"string"},"three_ds_server_transaction_id":{"type":"string","example":"ABC123","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.three_ds_server_transaction_id","typeLabel":"string"},"trans_status":{"type":"string","example":"Y","uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure.trans_status","typeLabel":"string"}},"uniqueKey":"payment_method.oneOf.0.method_details.authentication_result.3ds_secure","typeLabel":"object"}},"uniqueKey":"payment_method.oneOf.0.method_details.authentication_result","typeLabel":"object"},"installments":{"type":"object","properties":{"plan":{"type":"string","description":"Plan de cuotas. 01 = Normal.","example":"01","uniqueKey":"payment_method.oneOf.0.method_details.installments.plan","typeLabel":"string"},"number":{"type":"string","example":"3","uniqueKey":"payment_method.oneOf.0.method_details.installments.number","typeLabel":"string"}},"uniqueKey":"payment_method.oneOf.0.method_details.installments","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.0.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.0","typeLabel":"Tarjeta · object"},{"type":"object","title":"Yape","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["YAPE"],"example":"YAPE","isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["phone","otp"],"properties":{"phone":{"type":"object","required":["country_code","subscriber"],"properties":{"country_code":{"type":"string","example":"+51","isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_details.phone.country_code","typeLabel":"string"},"subscriber":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_details.phone.subscriber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_details.phone","typeLabel":"object"},"otp":{"type":"string","description":"Yape wallet OTP code.","example":"557454","isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_details.otp","typeLabel":"string"},"callback_url":{"type":"string","description":"URL that receives the host-to-host notification.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.1.method_details.callback_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.1.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.1","typeLabel":"Yape · object"},{"type":"object","title":"Transferencia bancaria","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["BANK_TRANSFER"],"example":"BANK_TRANSFER","isRequired":true,"uniqueKey":"payment_method.oneOf.2.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["redirect_url"],"properties":{"redirect_url":{"type":"string","description":"Redirect URL after authorization completes.","example":"https://example.com","isRequired":true,"uniqueKey":"payment_method.oneOf.2.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","description":"URL that receives the host-to-host notification.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.2.method_details.callback_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.2.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.2","typeLabel":"Transferencia bancaria · object"},{"type":"object","title":"Cuotealo","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["CUOTEALO"],"example":"CUOTEALO","isRequired":true,"uniqueKey":"payment_method.oneOf.3.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["redirect_url"],"properties":{"redirect_url":{"type":"string","description":"Redirect URL after authorization completes.","example":"https://example.com","isRequired":true,"uniqueKey":"payment_method.oneOf.3.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","description":"URL that receives the host-to-host notification.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.3.method_details.callback_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.3.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.3","typeLabel":"Cuotealo · object"},{"type":"object","title":"PagoEfectivo","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["PAGOEFECTIVO"],"example":"PAGOEFECTIVO","isRequired":true,"uniqueKey":"payment_method.oneOf.4.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["redirect_url"],"properties":{"redirect_url":{"type":"string","description":"Redirect URL after authorization completes.","example":"https://example.com","isRequired":true,"uniqueKey":"payment_method.oneOf.4.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","description":"URL that receives the host-to-host notification.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.4.method_details.callback_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.4.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.4","typeLabel":"PagoEfectivo · object"},{"type":"object","title":"QR","description":"Metodo de pago y detalle especifico segun el flujo.","required":["method_name","method_details"],"properties":{"method_name":{"type":"string","enum":["QR"],"example":"QR","isRequired":true,"uniqueKey":"payment_method.oneOf.5.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","properties":{"callback_url":{"type":"string","description":"URL that receives the host-to-host notification.","example":"https://example.com/callback","uniqueKey":"payment_method.oneOf.5.method_details.callback_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.5.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_method.oneOf.5","typeLabel":"QR · object"}],"isRequired":true,"uniqueKey":"payment_method","typeLabel":"Tarjeta · object | Yape · object | Transferencia bancaria · object | Cuotealo · object | PagoEfectivo · object | QR · object"},"payment_details":{"type":"object","required":["amount","currency","billing","shipping","customer","product_details"],"properties":{"amount":{"type":"string","description":"Monto en centavos.","example":"15000","isRequired":true,"uniqueKey":"payment_details.amount","typeLabel":"string"},"currency":{"type":"string","description":"Codigo de moneda.","example":"604","isRequired":true,"uniqueKey":"payment_details.currency","typeLabel":"string"},"billing":{"type":"object","required":["first_name","last_name","email","phone","location"],"properties":{"first_name":{"type":"string","example":"Pedro","isRequired":true,"uniqueKey":"payment_details.billing.first_name","typeLabel":"string"},"last_name":{"type":"string","example":"Miranda","isRequired":true,"uniqueKey":"payment_details.billing.last_name","typeLabel":"string"},"email":{"type":"string","example":"pedro@example.com","isRequired":true,"uniqueKey":"payment_details.billing.email","typeLabel":"string"},"phone":{"type":"object","required":["country_code","subscriber"],"properties":{"country_code":{"type":"string","example":"+51","isRequired":true,"uniqueKey":"payment_details.billing.phone.country_code","typeLabel":"string"},"subscriber":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"payment_details.billing.phone.subscriber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.billing.phone","typeLabel":"object"},"location":{"type":"object","required":["line_1","line_2","city","state","country"],"properties":{"line_1":{"type":"string","example":"Av. Casimiro Ulloa 333","isRequired":true,"uniqueKey":"payment_details.billing.location.line_1","typeLabel":"string"},"line_2":{"type":"string","example":"Miraflores","isRequired":true,"uniqueKey":"payment_details.billing.location.line_2","typeLabel":"string"},"city":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.billing.location.city","typeLabel":"string"},"state":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.billing.location.state","typeLabel":"string"},"country":{"type":"string","example":"Peru","isRequired":true,"uniqueKey":"payment_details.billing.location.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.billing.location","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_details.billing","typeLabel":"object"},"shipping":{"type":"object","required":["first_name","last_name","email","phone","location"],"properties":{"first_name":{"type":"string","example":"Pedro","isRequired":true,"uniqueKey":"payment_details.shipping.first_name","typeLabel":"string"},"last_name":{"type":"string","example":"Miranda","isRequired":true,"uniqueKey":"payment_details.shipping.last_name","typeLabel":"string"},"email":{"type":"string","example":"pedro@example.com","isRequired":true,"uniqueKey":"payment_details.shipping.email","typeLabel":"string"},"phone":{"type":"object","required":["country_code","subscriber"],"properties":{"country_code":{"type":"string","example":"+51","isRequired":true,"uniqueKey":"payment_details.shipping.phone.country_code","typeLabel":"string"},"subscriber":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"payment_details.shipping.phone.subscriber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.shipping.phone","typeLabel":"object"},"location":{"type":"object","required":["line_1","line_2","city","state","country"],"properties":{"line_1":{"type":"string","example":"Av. Casimiro Ulloa 333","isRequired":true,"uniqueKey":"payment_details.shipping.location.line_1","typeLabel":"string"},"line_2":{"type":"string","example":"Miraflores","isRequired":true,"uniqueKey":"payment_details.shipping.location.line_2","typeLabel":"string"},"city":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.shipping.location.city","typeLabel":"string"},"state":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.shipping.location.state","typeLabel":"string"},"country":{"type":"string","example":"Peru","isRequired":true,"uniqueKey":"payment_details.shipping.location.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.shipping.location","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_details.shipping","typeLabel":"object"},"customer":{"type":"object","required":["first_name","last_name","email","phone","location"],"properties":{"first_name":{"type":"string","example":"Pedro","isRequired":true,"uniqueKey":"payment_details.customer.first_name","typeLabel":"string"},"last_name":{"type":"string","example":"Miranda","isRequired":true,"uniqueKey":"payment_details.customer.last_name","typeLabel":"string"},"email":{"type":"string","example":"pedro@example.com","isRequired":true,"uniqueKey":"payment_details.customer.email","typeLabel":"string"},"phone":{"type":"object","required":["country_code","subscriber"],"properties":{"country_code":{"type":"string","example":"+51","isRequired":true,"uniqueKey":"payment_details.customer.phone.country_code","typeLabel":"string"},"subscriber":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"payment_details.customer.phone.subscriber","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.customer.phone","typeLabel":"object"},"location":{"type":"object","required":["line_1","line_2","city","state","country"],"properties":{"line_1":{"type":"string","example":"Av. Casimiro Ulloa 333","isRequired":true,"uniqueKey":"payment_details.customer.location.line_1","typeLabel":"string"},"line_2":{"type":"string","example":"Miraflores","isRequired":true,"uniqueKey":"payment_details.customer.location.line_2","typeLabel":"string"},"city":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.customer.location.city","typeLabel":"string"},"state":{"type":"string","example":"Lima","isRequired":true,"uniqueKey":"payment_details.customer.location.state","typeLabel":"string"},"country":{"type":"string","example":"Peru","isRequired":true,"uniqueKey":"payment_details.customer.location.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payment_details.customer.location","typeLabel":"object"}},"isRequired":true,"uniqueKey":"payment_details.customer","typeLabel":"object"},"product_details":{"type":"array","description":"Details of the products associated with the operation.","items":{"type":"object","uniqueKey":"payment_details.product_details.items.[INDEX]","typeLabel":"object"},"example":[],"isRequired":true,"uniqueKey":"payment_details.product_details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"payment_details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"card":{"title":"card","value":{"action":"authorize","channel":"ecommerce","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","payment_method":{"method_name":"CARD","method_details":{"pan":"4051420006041115","expiry_date":"1231","security_code":"123","card_holder":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"prefix":"51","number":"999835685"}},"installments":{"plan":"01","number":"3"}}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}},"yape":{"title":"yape","value":{"action":"authorize","channel":"ecommerce","merchant_code":"b0deb6f3-e51a-48a7-9268-f1441d46f7bd","merchant_operation_number":"5974484","payment_method":{"method_name":"YAPE","method_details":{"callback_url":"https://example.com/callback","phone":{"country_code":"+51","subscriber":"969929157"},"otp":"557454"}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}},"bank_transfer":{"title":"bank_transfer","value":{"action":"authorize","channel":"ecommerce","merchant_code":"your_merchant_code","merchant_operation_number":"5974483","payment_method":{"method_name":"BANK_TRANSFER","method_details":{"redirect_url":"https://example.com","callback_url":"https://example.com/callback"}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}},"cuotealo":{"title":"cuotealo","value":{"action":"authorize","channel":"ecommerce","merchant_code":"your_merchant_code","merchant_operation_number":"5974483","payment_method":{"method_name":"CUOTEALO","method_details":{"redirect_url":"https://example.com","callback_url":"https://example.com/callback"}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}},"pagoefectivo":{"title":"pagoefectivo","value":{"action":"authorize","channel":"ecommerce","merchant_code":"your_merchant_code","merchant_operation_number":"5974483","payment_method":{"method_name":"PAGOEFECTIVO","method_details":{"redirect_url":"https://example.com","callback_url":"https://example.com/callback"}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}},"qr":{"title":"qr","value":{"action":"authorize","channel":"ecommerce","merchant_code":"your_merchant_code","merchant_operation_number":"5733813","payment_method":{"method_name":"QR","method_details":{"callback_url":"https://example.com/callback"}},"payment_details":{"amount":"15000","currency":"604","billing":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"shipping":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"customer":{"first_name":"Pedro","last_name":"Miranda","email":"pedro@example.com","phone":{"country_code":"+51","subscriber":"999835685"},"location":{"line_1":"Av. Casimiro Ulloa 333","line_2":"Miraflores","city":"Lima","state":"Lima","country":"Peru"}},"product_details":[]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3a0bc8f1-85f3-4695-9c0e-53e4a6770e58":{"description":"Transaccion procesada correctamente.","content":{"application/json":{"schema":{"type":"object","required":["success","action","merchant_code","merchant_operation_number","transaction"],"properties":{"success":{"type":"string","example":"true","isRequired":true,"uniqueKey":"success","typeLabel":"string"},"action":{"type":"string","example":"authorize","isRequired":true,"uniqueKey":"action","typeLabel":"string"},"merchant_code":{"type":"string","example":"your_merchant_code","isRequired":true,"uniqueKey":"merchant_code","typeLabel":"string"},"merchant_operation_number":{"type":"string","example":"2391645","isRequired":true,"uniqueKey":"merchant_operation_number","typeLabel":"string"},"transaction":{"type":"object","required":["transaction_id","channel","state","amount","currency","payment_method","lifecycle"],"properties":{"transaction_id":{"type":"string","example":"5hk8rwa3h3cq9oyfs3a28v1ms","isRequired":true,"uniqueKey":"transaction.transaction_id","typeLabel":"string"},"channel":{"type":"string","example":"ecommerce","isRequired":true,"uniqueKey":"transaction.channel","typeLabel":"string"},"state":{"type":"string","example":"AUTORIZADO","isRequired":true,"uniqueKey":"transaction.state","typeLabel":"string"},"amount":{"type":"string","example":"15000","isRequired":true,"uniqueKey":"transaction.amount","typeLabel":"string"},"currency":{"type":"string","example":"604","isRequired":true,"uniqueKey":"transaction.currency","typeLabel":"string"},"payment_method":{"oneOf":[{"type":"object","title":"Tarjeta","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["CARD"],"example":"CARD","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.0.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","properties":{"masked_pan":{"type":"string","example":"411111********1111","uniqueKey":"transaction.payment_method.oneOf.0.method_details.masked_pan","typeLabel":"string"},"brand":{"type":"string","example":"VISA","uniqueKey":"transaction.payment_method.oneOf.0.method_details.brand","typeLabel":"string"},"bin":{"type":"string","example":"411111","uniqueKey":"transaction.payment_method.oneOf.0.method_details.bin","typeLabel":"string"},"last_pan":{"type":"string","example":"9268","uniqueKey":"transaction.payment_method.oneOf.0.method_details.last_pan","typeLabel":"string"},"card_type":{"type":"string","example":"DEBIT","uniqueKey":"transaction.payment_method.oneOf.0.method_details.card_type","typeLabel":"string"},"card_country":{"type":"string","example":"PE","uniqueKey":"transaction.payment_method.oneOf.0.method_details.card_country","typeLabel":"string"},"issuer":{"type":"string","example":"BANCO DE CREDITO DEL PERU - BCP","uniqueKey":"transaction.payment_method.oneOf.0.method_details.issuer","typeLabel":"string"},"installments":{"type":"object","properties":{"plan":{"type":"string","example":"NORMAL","uniqueKey":"transaction.payment_method.oneOf.0.method_details.installments.plan","typeLabel":"string"},"installment_number":{"type":"string","example":"2","uniqueKey":"transaction.payment_method.oneOf.0.method_details.installments.installment_number","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.0.method_details.installments","typeLabel":"object"},"redirect_url":{"type":"string","example":"https://example.com","uniqueKey":"transaction.payment_method.oneOf.0.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.0.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.0.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.0","typeLabel":"Tarjeta · object"},{"type":"object","title":"Yape","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["YAPE"],"example":"YAPE","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.1.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","properties":{"phone":{"type":"object","required":["country_code","subscriber"],"properties":{"country_code":{"type":"string","example":"+51","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.1.method_details.phone.country_code","typeLabel":"string"},"subscriber":{"type":"string","example":"999835685","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.1.method_details.phone.subscriber","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.1.method_details.phone","typeLabel":"object"},"masked_pan":{"type":"string","example":"411111********1111","uniqueKey":"transaction.payment_method.oneOf.1.method_details.masked_pan","typeLabel":"string"},"brand":{"type":"string","example":"VISA","uniqueKey":"transaction.payment_method.oneOf.1.method_details.brand","typeLabel":"string"},"bin":{"type":"string","example":"411111","uniqueKey":"transaction.payment_method.oneOf.1.method_details.bin","typeLabel":"string"},"last_pan":{"type":"string","example":"9268","uniqueKey":"transaction.payment_method.oneOf.1.method_details.last_pan","typeLabel":"string"},"card_type":{"type":"string","example":"DEBIT","uniqueKey":"transaction.payment_method.oneOf.1.method_details.card_type","typeLabel":"string"},"card_country":{"type":"string","example":"PE","uniqueKey":"transaction.payment_method.oneOf.1.method_details.card_country","typeLabel":"string"},"issuer":{"type":"string","example":"BANCO DE CREDITO DEL PERU - BCP","uniqueKey":"transaction.payment_method.oneOf.1.method_details.issuer","typeLabel":"string"},"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.1.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.1.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.1","typeLabel":"Yape · object"},{"type":"object","title":"Transferencia bancaria","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["BANK_TRANSFER"],"example":"BANK_TRANSFER","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.2.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["redirect_url"],"properties":{"redirect_url":{"type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.2.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.2.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.2.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.2","typeLabel":"Transferencia bancaria · object"},{"type":"object","title":"Cuotealo","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["CUOTEALO"],"example":"CUOTEALO","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.3.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","required":["redirect_url"],"properties":{"redirect_url":{"type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.3.method_details.redirect_url","typeLabel":"string"},"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.3.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.3.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.3","typeLabel":"Cuotealo · object"},{"type":"object","title":"PagoEfectivo","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["PAGOEFECTIVO"],"example":"PAGOEFECTIVO","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.4.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","properties":{"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.4.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.4.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.4","typeLabel":"PagoEfectivo · object"},{"type":"object","title":"QR","description":"Metodo de pago utilizado y detalle disponible segun el flujo.","required":["method_name"],"properties":{"method_name":{"type":"string","enum":["QR"],"example":"QR","isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.5.method_name","typeLabel":"enum\u003cstring>"},"method_details":{"type":"object","properties":{"masked_pan":{"type":"string","example":"411111********1111","uniqueKey":"transaction.payment_method.oneOf.5.method_details.masked_pan","typeLabel":"string"},"brand":{"type":"string","example":"VISA","uniqueKey":"transaction.payment_method.oneOf.5.method_details.brand","typeLabel":"string"},"bin":{"type":"string","example":"411111","uniqueKey":"transaction.payment_method.oneOf.5.method_details.bin","typeLabel":"string"},"last_pan":{"type":"string","example":"9268","uniqueKey":"transaction.payment_method.oneOf.5.method_details.last_pan","typeLabel":"string"},"card_type":{"type":"string","example":"DEBIT","uniqueKey":"transaction.payment_method.oneOf.5.method_details.card_type","typeLabel":"string"},"card_country":{"type":"string","example":"PE","uniqueKey":"transaction.payment_method.oneOf.5.method_details.card_country","typeLabel":"string"},"issuer":{"type":"string","example":"BANCO DE CREDITO DEL PERU - BCP","uniqueKey":"transaction.payment_method.oneOf.5.method_details.issuer","typeLabel":"string"},"callback_url":{"type":"string","example":"https://example.com/callback","uniqueKey":"transaction.payment_method.oneOf.5.method_details.callback_url","typeLabel":"string"}},"uniqueKey":"transaction.payment_method.oneOf.5.method_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transaction.payment_method.oneOf.5","typeLabel":"QR · object"}],"isRequired":true,"uniqueKey":"transaction.payment_method","typeLabel":"Tarjeta · object | Yape · object | Transferencia bancaria · object | Cuotealo · object | PagoEfectivo · object | QR · object"},"lifecycle":{"type":"array","items":{"type":"object","required":["state","date"],"properties":{"state":{"type":"string","example":"AUTORIZADO","isRequired":true,"uniqueKey":"transaction.lifecycle.items.[INDEX].state","typeLabel":"string"},"date":{"type":"object","required":["utc_time","unix_time"],"properties":{"utc_time":{"type":"string","example":"2024-03-12T22:49:36.018Z","isRequired":true,"uniqueKey":"transaction.lifecycle.items.[INDEX].date.utc_time","typeLabel":"string"},"unix_time":{"type":"integer","example":1710282940,"isRequired":true,"uniqueKey":"transaction.lifecycle.items.[INDEX].date.unix_time","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"transaction.lifecycle.items.[INDEX].date","typeLabel":"object"}},"uniqueKey":"transaction.lifecycle.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transaction.lifecycle","typeLabel":"object[]"},"state_reason":{"type":"string","example":"Approval and completed successfully","uniqueKey":"transaction.state_reason","typeLabel":"string"},"continue_url":{"type":"string","example":"https://api.dev.alignet.io/payment/continue/card/81vrxn30vja1gwcfsdng4i5g5","uniqueKey":"transaction.continue_url","typeLabel":"string"},"expiration_date":{"type":"object","properties":{"utc_time":{"type":"string","example":"2024-03-12T22:49:36.018Z","uniqueKey":"transaction.expiration_date.utc_time","typeLabel":"string"},"unix_time":{"type":"integer","example":1711585037,"uniqueKey":"transaction.expiration_date.unix_time","typeLabel":"integer"}},"uniqueKey":"transaction.expiration_date","typeLabel":"object"},"processor_response":{"oneOf":[{"type":"object","properties":{"authorization_code":{"type":"string","example":"055552","uniqueKey":"transaction.processor_response.oneOf.0.authorization_code","typeLabel":"string"},"brand_transaction_id":{"type":"string","example":"100B","uniqueKey":"transaction.processor_response.oneOf.0.brand_transaction_id","typeLabel":"string"},"date":{"type":"string","example":"2024-03-26 19:17:19.599715","uniqueKey":"transaction.processor_response.oneOf.0.date","typeLabel":"string"},"qr_image":{"type":"string","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...","uniqueKey":"transaction.processor_response.oneOf.0.qr_image","typeLabel":"string"},"qr_id":{"type":"string","example":"6d5d1ffc79234991b5592b825d6ec097","uniqueKey":"transaction.processor_response.oneOf.0.qr_id","typeLabel":"string"},"cip":{"type":"string","example":"1508405","uniqueKey":"transaction.processor_response.oneOf.0.cip","typeLabel":"string"},"cip_url":{"type":"string","example":"https://pre1a.payment.pagoefectivo.pe/72217FA5-4580-4B16-A345-24F028F53356.html","uniqueKey":"transaction.processor_response.oneOf.0.cip_url","typeLabel":"string"},"origin_account":{"type":"string","example":"055552","uniqueKey":"transaction.processor_response.oneOf.0.origin_account","typeLabel":"string"},"request_id":{"type":"string","example":"055552","uniqueKey":"transaction.processor_response.oneOf.0.request_id","typeLabel":"string"},"operation_id":{"type":"string","example":"055552","uniqueKey":"transaction.processor_response.oneOf.0.operation_id","typeLabel":"string"},"credit_status":{"type":"string","example":"APPROVED","uniqueKey":"transaction.processor_response.oneOf.0.credit_status","typeLabel":"string"},"payment_date":{"type":"string","example":"2024-06-24T11:01:20-05:00","uniqueKey":"transaction.processor_response.oneOf.0.payment_date","typeLabel":"string"},"operationNumber":{"type":"string","example":"1057462","uniqueKey":"transaction.processor_response.oneOf.0.operationNumber","typeLabel":"string"},"reverse_date":{"type":"string","example":"05-07-2024 20:34:19","uniqueKey":"transaction.processor_response.oneOf.0.reverse_date","typeLabel":"string"},"reverse_code":{"type":"string","example":"T90261","uniqueKey":"transaction.processor_response.oneOf.0.reverse_code","typeLabel":"string"},"result_message":{"type":"object","properties":{"code":{"type":"string","example":"00","uniqueKey":"transaction.processor_response.oneOf.0.result_message.code","typeLabel":"string"},"description":{"type":"string","example":"Approval and completed successfully","uniqueKey":"transaction.processor_response.oneOf.0.result_message.description","typeLabel":"string"}},"uniqueKey":"transaction.processor_response.oneOf.0.result_message","typeLabel":"object"}},"uniqueKey":"transaction.processor_response.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"authorization_code":{"type":"string","example":"055552"},"brand_transaction_id":{"type":"string","example":"100B"},"date":{"type":"string","example":"2024-03-26 19:17:19.599715"},"qr_image":{"type":"string","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."},"qr_id":{"type":"string","example":"6d5d1ffc79234991b5592b825d6ec097"},"cip":{"type":"string","example":"1508405"},"cip_url":{"type":"string","example":"https://pre1a.payment.pagoefectivo.pe/72217FA5-4580-4B16-A345-24F028F53356.html"},"origin_account":{"type":"string","example":"055552"},"request_id":{"type":"string","example":"055552"},"operation_id":{"type":"string","example":"055552"},"credit_status":{"type":"string","example":"APPROVED"},"payment_date":{"type":"string","example":"2024-06-24T11:01:20-05:00"},"operationNumber":{"type":"string","example":"1057462"},"reverse_date":{"type":"string","example":"05-07-2024 20:34:19"},"reverse_code":{"type":"string","example":"T90261"},"result_message":{"type":"object","properties":{"code":{"type":"string","example":"00"},"description":{"type":"string","example":"Approval and completed successfully"}}}},"uniqueKey":"transaction.processor_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.processor_response","typeLabel":"object | null"},"additional_fields":{"oneOf":[{"type":"object","example":null,"uniqueKey":"transaction.additional_fields.oneOf.0","typeLabel":"object"},{"type":"null","example":null,"uniqueKey":"transaction.additional_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.additional_fields","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"transaction","typeLabel":"object"},"meta":{"type":"object","properties":{"status":{"type":"object","properties":{"code":{"type":"string","description":"Technical result code for the service or request. It does not indicate whether payment was authorized or declined; use the transaction state for that.","example":"00","uniqueKey":"meta.status.code","typeLabel":"string"},"message_ilgn":{"type":"array","items":{"type":"object","properties":{"locale":{"type":"string","example":"es_PE","uniqueKey":"meta.status.message_ilgn.items.[INDEX].locale","typeLabel":"string"},"value":{"type":"string","example":"Procesado correctamente","uniqueKey":"meta.status.message_ilgn.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"meta.status.message_ilgn.items.[INDEX]","typeLabel":"object"},"uniqueKey":"meta.status.message_ilgn","typeLabel":"object[]"}},"uniqueKey":"meta.status","typeLabel":"object"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"card":{"title":"card","value":{"success":"true","action":"authorize","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"AUTORIZADO","state_reason":"Approval and completed successfully","amount":"15000","currency":"604","payment_method":{"method_name":"CARD","method_details":{"masked_pan":"411111********1111","brand":"VISA","bin":"411111","last_pan":"9268","card_type":"DEBIT","card_country":"PE","issuer":"BANCO DE CREDITO DEL PERU - BCP","installments":{"plan":"NORMAL","installment_number":"2"}}},"processor_response":{"authorization_code":"055552","brand_transaction_id":"100B","result_message":{"code":"00","description":"Approval and completed successfully"}},"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"AUTORIZADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}},"yape":{"title":"yape","value":{"success":"true","action":"authorize","merchant_code":"b0deb6f3-e51a-48a7-9268-f1441d46f7bd","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"AUTORIZADO","state_reason":"Pago exitoso con Yape","amount":"15000","currency":"604","payment_method":{"method_name":"YAPE","method_details":{"phone":{"country_code":"+51","subscriber":"969929157"},"masked_pan":"411111********1111","brand":"VISA","bin":"411111","last_pan":"9268","card_type":"DEBIT","card_country":"PE","issuer":"BANCO DE CREDITO DEL PERU - BCP"}},"processor_response":{"authorization_code":"055552","brand_transaction_id":"100B","result_message":{"code":"00","description":"Approval and completed successfully"}},"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"AUTORIZADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}},"bank_transfer":{"title":"bank_transfer","value":{"success":"true","action":"authorize","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"PENDIENTE","state_reason":"Url generada para continuar con el pago","continue_url":"https://api.dev.alignet.io/payment/continue/card/81vrxn30vja1gwcfsdng4i5g5","amount":"15000","currency":"604","payment_method":{"method_name":"BANK_TRANSFER","method_details":{"redirect_url":"https://example.com","callback_url":"https://example.com/callback"}},"expiration_date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1711585037},"processor_response":null,"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}},"cuotealo":{"title":"cuotealo","value":{"success":"true","action":"authorize","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"PENDIENTE","state_reason":"Url generada para continuar con el pago","continue_url":"https://api.dev.alignet.io/payment/continue/card/81vrxn30vja1gwcfsdng4i5g5","amount":"15000","currency":"604","payment_method":{"method_name":"CUOTEALO","method_details":{"redirect_url":"https://example.com","callback_url":"https://example.com/callback"}},"expiration_date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1711585037},"processor_response":null,"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}},"pagoefectivo":{"title":"pagoefectivo","value":{"success":"true","action":"authorize","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"PENDIENTE","state_reason":"Codigo CIP generado exitosamente","amount":"15000","currency":"604","payment_method":{"method_name":"PAGOEFECTIVO","method_details":{"callback_url":"https://example.com/callback"}},"expiration_date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1711585037},"processor_response":{"cip":"1508405","cip_url":"https://pre1a.payment.pagoefectivo.pe/72217FA5-4580-4B16-A345-24F028F53356.html","result_message":{"code":"100","description":"Solicitud exitosa."}},"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}},"qr":{"title":"qr","value":{"success":"true","action":"authorize","merchant_code":"your_merchant_code","merchant_operation_number":"2391645","transaction":{"transaction_id":"5hk8rwa3h3cq9oyfs3a28v1ms","channel":"ecommerce","state":"PENDIENTE","state_reason":"QR generado exitosamente","amount":"15000","currency":"604","payment_method":{"method_name":"QR","method_details":{"callback_url":"https://example.com/callback"}},"expiration_date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1711585037},"processor_response":{"date":"2024-03-26 19:17:19.599715","qr_image":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...","qr_id":"6d5d1ffc79234991b5592b825d6ec097","result_message":{"code":"0","description":"Exito"}},"additional_fields":null,"lifecycle":[{"state":"REGISTRADO","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}},{"state":"PENDIENTE","date":{"utc_time":"2024-03-12T22:49:36.018Z","unix_time":1710282940}}]},"meta":{"status":{"code":"00","message_ilgn":[{"locale":"es_PE","value":"Procesado correctamente"}]}}}}},"exampleType":"examples"}},"exampleType":"examples"},"e6a1ad20-d5a4-41e2-bd77-93a5f6eb8fac":{"description":"Request invalido.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"b55e064c-06e5-4381-871b-1c8d60c46220":{"description":"Token invalido o expirado.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"8591f150-b096-41e9-832a-a428c7bf6d6f":{"url":"https://api.preprod.alignet.io","description":"Pre-Produccion"},"3b286083-8a80-4d6a-b5b0-81d54fc4c922":{"url":"https://api.alignet.io","description":"Produccion"}}},"originalFileLocation":"openapi-en.json"},"subdomain":"alignet-dev","siteName":"Alignet Integration Docs","title":"Authorize ecommerce payment - Alignet Integration Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/pagos-virtuales/introduccion","matchLevel":4},"en":{"href":"/en/api-reference/payin/authorize-ecommerce-payment","matchLevel":0}}},"lastModified":"2026-09-14T21:23:27.484Z","originalFileLocation":"en/api-reference/payin/authorize-ecommerce-payment.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=\"description\" content=\"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alignet Integration Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_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/alignet-dev/g6ornRO5988yBLO4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authorize ecommerce payment - Alignet Integration Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alignet Integration Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alignet-dev.mintlify.app/_mintlify/api/og/v2?division=PayIn\u0026amp;title=Authorize+ecommerce+payment\u0026amp;description=Processes+an+ecommerce+payment+using+the+authorization+API.+This+endpoint+supports+card%2C+Yape%2C+bank+transfer%2C+QR%2C+Cuot%C3%A9alo%2C+and+PagoEfectivo+flows.\u0026amp;theme=ffcc7caa41a0d012dabcc7b0\u0026amp;signature=09d596993a4346c685cc39cdf011e6783f83c17e8264eae621f94e0bca3c65ac\">\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=\"Authorize ecommerce payment - Alignet Integration Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alignet-dev.mintlify.app/_mintlify/api/og/v2?division=PayIn\u0026amp;title=Authorize+ecommerce+payment\u0026amp;description=Processes+an+ecommerce+payment+using+the+authorization+API.+This+endpoint+supports+card%2C+Yape%2C+bank+transfer%2C+QR%2C+Cuot%C3%A9alo%2C+and+PagoEfectivo+flows.\u0026amp;theme=ffcc7caa41a0d012dabcc7b0\u0026amp;signature=09d596993a4346c685cc39cdf011e6783f83c17e8264eae621f94e0bca3c65ac\">\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/alignet-dev/g6ornRO5988yBLO4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alignet Integration Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A5F8F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/payin/authorize-ecommerce-payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.alignet.com/#organization\",\"name\":\"Alignet Integration Docs\",\"url\":\"https://docs.alignet.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alignet-dev/GdV3Zg74QIFmz7Gi/images/alignet-logo-header-orange-docs.png?fit=max\u0026auto=format\u0026n=GdV3Zg74QIFmz7Gi\u0026q=85\u0026s=4e9455ada8e8ef38416e179ddb5ea296\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.alignet.com#website\",\"name\":\"Alignet Integration Docs\",\"url\":\"https://docs.alignet.com\",\"publisher\":{\"@id\":\"https://docs.alignet.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment#webpage\",\"url\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment\",\"name\":\"Authorize ecommerce payment\",\"description\":\"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\",\"dateModified\":\"2026-09-14T21:23:27.484Z\",\"isPartOf\":{\"@id\":\"https://docs.alignet.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.alignet.com/en/api-reference/authentication/generate-access-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authorize ecommerce payment\",\"item\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment#apireference\",\"headline\":\"Authorize ecommerce payment\",\"name\":\"Authorize ecommerce payment\",\"description\":\"Processes an ecommerce payment using the authorization API. This endpoint supports card, Yape, bank transfer, QR, Cuotéalo, and PagoEfectivo flows.\",\"url\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.alignet.com/en/api-reference/payin/authorize-ecommerce-payment#webpage\"},\"dateModified\":\"2026-09-14T21:23:27.484Z\",\"publisher\":{\"@id\":\"https://docs.alignet.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.alignet.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alignet Integration Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alignet Integration Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"navbar":{"links":[],"primary":{"type":"button","label":"Ir a Alignet","href":"https://www.alignet.com"}},"pages":[{"title":"es","href":"/pagos-virtuales/introduccion"}]},{"language":"en","navbar":{"links":[],"primary":{"type":"button","label":"Go to Alignet","href":"https://www.alignet.com"}},"products":[{"product":"Pagos online · Alignet One","name":"Online payments · Alignet One","icon":"credit-card","tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/en/virtual-payments/introduction"}]},{"tab":"API Docs","groups":[{"group":"API reference","pages":[{"group":"Authentication","pages":[{"title":"Generate Access Token","deprecated":null,"version":null,"openapi":"/openapi-en.json post /token","href":"/en/api-reference/authentication/generate-access-token"},{"title":"Generate Nonce","description":"Generates the temporary Nonce required to initialize Alignet One Flex. Consume this endpoint from your backend using a valid Bearer Token. See also [API Nonce](/en/virtual-payments/checkout-web/flex/api-nonce).","deprecated":null,"version":null,"openapi":"/openapi-en.json post /nonce","href":"/en/api-reference/authentication/generate-nonce"}]},{"group":"PayIn","pages":[{"title":"Authorize ecommerce payment","deprecated":null,"version":null,"openapi":"/openapi-en.json post /charges","href":"/en/api-reference/payin/authorize-ecommerce-payment"},{"title":"Get ecommerce transaction","description":"Gets the status of a transaction previously generated by the authorization API.","deprecated":null,"version":null,"openapi":"/openapi-en.json get /charges/{merchant_code}/{merchant_operation_number}/{transaction_id}","href":"/en/api-reference/payin/get-ecommerce-transaction"},{"title":"Cancel or reverse ecommerce operation","deprecated":null,"version":null,"openapi":"/openapi-en.json delete /charges/{merchant_code}/{merchant_operation_number}","href":"/en/api-reference/payin/cancel-or-reverse-ecommerce-operation"}]},{"group":"Refunds","pages":[{"title":"Get refunds with filters","deprecated":null,"version":null,"openapi":"/openapi-en.json get /refund","href":"/en/api-reference/refunds/get-refunds-with-filters"},{"title":"Request refund","deprecated":null,"version":null,"openapi":"/openapi-en.json post /refund","href":"/en/api-reference/refunds/request-refund"},{"title":"Get a refund","deprecated":null,"version":null,"openapi":"/openapi-en.json get /refund/{merchant_code}/{merchant_operation_number}","href":"/en/api-reference/refunds/get-a-refund"}]},{"group":"API Reference","pages":[{"title":"Server to server notification","version":null,"deprecated":null,"openapi":"/openapi-en.json webhook serverToServerNotification","href":"/en/api-reference/server-to-server-notification"}]}]}]}]},{"product":"Procesamiento adquirente","name":"Acquiring Processing","icon":"credit-card-alt","pages":[{"title":"Procesamiento adquirente","href":"/en/acquiring-processing/introduction"}]},{"product":"VPOS · Versión clásica","name":"VPOS · Classic version","icon":"plug","pages":[{"title":"VPOS · Versión clásica","href":"/en/vpos-2/introduction"}]}]}]},"title":"Authorize ecommerce payment - Alignet Integration Docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}