Catálogo de terminales
Rutas canónicas para los puntos finales de pedido, pago, usuario, tarjeta y suscripción de DEUNA a los que se hace referencia en toda la documentación.
En esta página
Utilice este catálogo cuando una guía enlace a una operación API. Las rutas y los métodos HTTP se mantienen estables aquí para que las guías de integración más antiguas se resuelvan en un destino útil y actual.
Inventario completo de API Gateway#
Este inventario se genera a partir de la configuración efectiva de API Gateway, en lugar de a partir de la instantánea heredada de OpenAPI más pequeña. Utilice los filtros para identificar quién debe llamar a una operación, qué servicio es el propietario, qué autorización admite y qué encabezados acepta o reenvía la puerta de enlace.
El catálogo incluye APIs para comercios y clientes, rutas para socios, callbacks de proveedores y rutas públicas para navegadores. Las operaciones internas de administración y gestión están excluidas. Los callbacks de proveedores se muestran con fines de integración y no deben ser llamados por las integraciones de los comercios.
Generado a partir de las rutas públicas de la configuración efectiva del API Gateway.
Backend del comercio · servidor a servidorÚsalo desde un backend confiable del comercio para órdenes, pagos y flujos operativos.278
/cards/bin/{bin}Obtener Bin.
- Dominio
- Cards and vault
- Servicio responsable
- Card metadata
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/gift-cardsCrear Gift Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/couponsCrear Coupons.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/coupons/{coupon_code}Eliminar Coupons.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/custom-fieldsActualizar Custom Fields.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/shipping-methodsCrear Shipping Methods.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/shipping-methods/{code}Actualizar Shipping Methods.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/shipping-rateCrear Shipping Rate.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/credentialsListar u obtener Credentials.
- Dominio
- Connections
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputesListar u obtener Disputes.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputesCrear Disputes.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}Obtener Disputes.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/draftActualizar Draft.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidenceListar u obtener Evidence.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidenceCrear Evidence.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidence/{evidence_id}Obtener Evidence.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidence/{evidence_id}/archiveEjecutar Archive para Evidence.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidence/{evidence_id}/versionsCrear Versions.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/completeEjecutar Complete para Versions.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/downloadEjecutar Download para Versions.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requestsListar u obtener Information Requests.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requestsCrear Information Requests.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requests/{request_id}Obtener Information Requests.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requests/{request_id}/dismissEjecutar Dismiss para Information Requests.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requests/{request_id}/resolveEjecutar Resolve para Information Requests.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/information-requests/{request_id}/responsesCrear Responses.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/metadataActualizar Metadata.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/requirementsListar u obtener Requirements.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/reviewsCrear Reviews.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/reviews/{review_id}Obtener Reviews.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/reviews/{review_id}/approveEjecutar Approve para Reviews.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/reviews/{review_id}/snapshotListar u obtener Snapshot.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/submissionsListar u obtener Submissions.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/submissions/{submission_id}Obtener Submissions.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/submitEjecutar Submit para Disputes.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/{id}/updatesListar u obtener Updates.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/capabilitiesListar u obtener Capabilities.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/connectionsListar u obtener Connections.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/disputes/connections/{processor_account_id}Obtener Connections.
- Dominio
- Disputes
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/avs/codesListar u obtener Codes.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/filters/anti-fraud-providersListar u obtener Anti Fraud Providers.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/anti-fraud-processorListar u obtener Anti Fraud Processor.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/fraud-settingsEliminar Fraud Settings.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/fraud-settingsListar u obtener Fraud Settings.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/fraud-settingsActualizar Fraud Settings.
- Dominio
- Fraud and risk
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/filters/acquirers/merchants/{merchant_id}Obtener Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Reports and reconciliation
- Dirigido a
- Backend del comercio · servidor a servidor
/filters/data_source/merchants/{merchant_id}Obtener Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Reports and reconciliation
- Dirigido a
- Backend del comercio · servidor a servidor
/fulfillments/{provider}/{merchant_id}Crear Fulfillments.
- Dominio
- Merchant administration
- Servicio responsable
- Post-transaction
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/{id}/avs/historyListar u obtener History.
- Dominio
- Merchant administration
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/{id}/profileListar u obtener Profile.
- Dominio
- Merchant administration
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/{id}/profileActualizar Profile.
- Dominio
- Merchant administration
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/profileCrear Profile.
- Dominio
- Merchant administration
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant/transaction/{id}Obtener Transaction.
- Dominio
- Merchant administration
- Servicio responsable
- Fraud and risk
- Dirigido a
- Backend del comercio · servidor a servidor
/merchantsListar u obtener Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchantsCrear Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants-allListar u obtener Merchants All.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants-tokens/meListar u obtener Me.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}Obtener Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}Actualizar Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/applicationsListar u obtener Applications.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/applicationsActualizar Applications.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/applicationsCrear Applications.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/applications/{application_id}Obtener Applications.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/applications/{application_id}/storesCrear Stores.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/configurationsListar u obtener Configurations.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/configurationsCrear Configurations.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/configurations/{configuration_id}Eliminar Configurations.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/configurations/{configuration_id}Obtener Configurations.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/decryptCrear Decrypt.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/external-endpointsCrear External Endpoints.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}Eliminar External Endpoints.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}Actualizar External Endpoints.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/filesListar u obtener Files.
- Dominio
- Merchant administration
- Servicio responsable
- Reports and reconciliation
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/onboarding_step/{step}Crear Onboarding Step.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/public-keysCrear Public Keys.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/recipientsListar u obtener Recipients.
- Dominio
- Merchant administration
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/recipientsCrear Recipients.
- Dominio
- Merchant administration
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/recipients/{recipient_id}Eliminar Recipients.
- Dominio
- Merchant administration
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/recipients/{recipient_id}Actualizar Recipients.
- Dominio
- Merchant administration
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/storesListar u obtener Stores.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/storesCrear Stores.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/tokensCrear Tokens.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/applications/validateListar u obtener Validate.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/applications/validateActualizar Validate.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/applications/validateCrear Validate.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/audit-logsListar u obtener Audit Logs.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/audit-logs/exportsListar u obtener Exports.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/audit-logs/exportsCrear Exports.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/audit-logs/exports/{export_id}/downloadEjecutar Download para Exports.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/audit-logs/filtersListar u obtener Filters.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/billing/invoicesListar u obtener Invoices.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/billing/invoices/{invoice_id}Obtener Invoices.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/countries/{country}/{state}/citiesListar u obtener Cities.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/countries/{country}/banksListar u obtener Banks.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/countries/{country}/citiesListar u obtener Cities.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/countries/{country}/statesListar u obtener States.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/countries/listListar u obtener List.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/data/airline-informationListar u obtener Airline Information.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/data/airline-informationCrear Airline Information.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/data/airline-information/{source_version}/rollbackEjecutar Rollback para Airline Information.
- Dominio
- Merchant administration
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/domain/{record}/validateCrear Validate.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/domain/validateCrear Validate.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/loginEjecutar Login para Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/merchant-eventsListar u obtener Merchant Events.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/merchant-events/{merchant_id}Obtener Merchant Events.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/merchant-events/{merchant_id}Crear Merchant Events.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/msiEliminar Msi.
- Dominio
- Merchant administration
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/msiListar u obtener Msi.
- Dominio
- Merchant administration
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/msiCrear Msi.
- Dominio
- Merchant administration
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/msi/{merchant_id}Obtener Msi.
- Dominio
- Merchant administration
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/request-codeEjecutar Request Code para Merchants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/resources/external-endpointsListar u obtener External Endpoints.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/self-onboardingCrear Self Onboarding.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/validate-codeCrear Validate Code.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/tenantsListar u obtener Tenants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/tenantsCrear Tenants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/tenants/{tenant_id}Obtener Tenants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/tenants/{tenant_id}Actualizar Tenants.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants-tokens/meListar u obtener Me.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/{merchant_id}/security/mfaListar u obtener Mfa.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/{merchant_id}/security/mfaActualizar Mfa.
- Dominio
- Merchant administration
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/ordersListar u obtener Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}Obtener Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/captureEjecutar Capture para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/payment_optionsListar u obtener Payment Options.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/refundCrear Refund.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/status/{status}Crear Status.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/voidEjecutar Void para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/vouchersListar u obtener Vouchers.
- Dominio
- Orders
- Servicio responsable
- Vouchers
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/orders/{order_token}/vouchersCrear Vouchers.
- Dominio
- Orders
- Servicio responsable
- Vouchers
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/billing-addressCrear Billing Address.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/external-orders/{order_token}/scheduleCrear Schedule.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/ordersListar u obtener Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/ordersCrear Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}Obtener Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}Actualizar Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/cancelEjecutar Cancel para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/captureEjecutar Capture para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/capture-asyncCrear Capture Async.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/consentListar u obtener Consent.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/consentCrear Consent.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/expireEjecutar Expire para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/payments-methodsListar u obtener Payments Methods.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/promotionsCrear Promotions.
- Dominio
- Orders
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/refundCrear Refund.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/refund-asyncCrear Refund Async.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/successEjecutar Success para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/transactions/nequi/verifyEjecutar Verify para Nequi.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/transactions/verifyEjecutar Verify para Transactions.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/voidEjecutar Void para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/{order_token}/void-asyncEjecutar Void Async para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/filters-optionsListar u obtener Filters Options.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/orders/id/{order_id}Obtener Id.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/transactions/orders/{order_token}/installmentsListar u obtener Installments.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/orders/statusListar u obtener Status.
- Dominio
- Orders
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/{merchant_id}/orders/{order_token}/captureEjecutar Capture para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/orders/{order_token}/captureEjecutar Capture para Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/orders/{order_token}/refundCrear Refund.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/orders/purchaseCrear Purchase.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/payments/links/templatesListar u obtener Templates.
- Dominio
- Payment links
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/payments/links/templatesCrear Templates.
- Dominio
- Payment links
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/payments/links/templates/{template_id}Obtener Templates.
- Dominio
- Payment links
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/payments/links/templates/{template_id}Actualizar Templates.
- Dominio
- Payment links
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payment-linksCrear Payment Links.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payment-links/{payment_link_id}Obtener Payment Links.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payment-links/{payment_link_id}Actualizar Payment Links.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payment-links/{payment_link_id}/ordersListar u obtener Orders.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payment-links/allListar u obtener All.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/payments/links/templates/{template_id}/ordersListar u obtener Orders.
- Dominio
- Payment links
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/payment-links/{payment_link_id}Obtener Payment Links.
- Dominio
- Payment links
- Servicio responsable
- Payment links
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/batch-transactionsListar u obtener Batch Transactions.
- Dominio
- Payments
- Servicio responsable
- Batch transactions
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/batch-transactionsCrear Batch Transactions.
- Dominio
- Payments
- Servicio responsable
- Batch transactions
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/batch-transactions/{batch_id}Obtener Batch Transactions.
- Dominio
- Payments
- Servicio responsable
- Batch transactions
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/installmentsEliminar Installments.
- Dominio
- Payments
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/installmentsListar u obtener Installments.
- Dominio
- Payments
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/installmentsCrear Installments.
- Dominio
- Payments
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/transactionsListar u obtener Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/stores/payments-methodsListar u obtener Payments Methods.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-middleware/manifestListar u obtener Manifest.
- Dominio
- Payments
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-middleware/payment-methodsListar u obtener Payment Methods.
- Dominio
- Payments
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-middleware/paymentsCrear Payments.
- Dominio
- Payments
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-middleware/payments/{payment_id}/cancellationsCrear Cancellations.
- Dominio
- Payments
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-middleware/payments/{payment_id}/refundsCrear Refunds.
- Dominio
- Payments
- Servicio responsable
- Merchant middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-vault/tokenizationCrear Tokenization.
- Dominio
- Payments
- Servicio responsable
- Vault
- Dirigido a
- Backend del comercio · servidor a servidor
/payments-vault/tokenization/{uuid}/cvvCrear Cvv.
- Dominio
- Payments
- Servicio responsable
- Vault
- Dirigido a
- Backend del comercio · servidor a servidor
/post-transactions/{provider}Crear Post Transactions.
- Dominio
- Payments
- Servicio responsable
- Post-transaction
- Dirigido a
- Backend del comercio · servidor a servidor
/telcel-middleware/transactions/inquiryCrear Inquiry.
- Dominio
- Payments
- Servicio responsable
- Telcel middleware
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/{request_id_hash}/cancelEjecutar Cancel para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/captureEjecutar Capture para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/refundCrear Refund.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/statusActualizar Status.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/status/nequiCrear Nequi.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/three-ds-flowListar u obtener Three Ds Flow.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/three-ds-flow/completeEjecutar Complete para Three Ds Flow.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/three-ds-flow/completeEjecutar Complete para Three Ds Flow.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/three-ds-flow/continueEjecutar Continue para Three Ds Flow.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/transfer/{current_store_code}/{new_store_code}Ejecutar Transfer para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/verifyEjecutar Verify para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/voidEjecutar Void para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/{transaction_id}/void-asyncEjecutar Void Async para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/internal-searchListar u obtener Internal Search.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/payments-methodsListar u obtener Payments Methods.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/payments-methods/{method_type}/installmentsListar u obtener Installments.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/searchEjecutar Search para Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/update-processing-transactionsListar u obtener Update Processing Transactions.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/verify3dsListar u obtener Verify3ds.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/verify3dsCrear Verify3ds.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/transactions/view_challengeListar u obtener View Challenge.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/manual-reviewCrear Manual Review.
- Dominio
- Post-transaction
- Servicio responsable
- Post-transaction
- Dirigido a
- Backend del comercio · servidor a servidor
/post-transaction-manual-process/{action}Crear Post Transaction Manual Process.
- Dominio
- Post-transaction
- Servicio responsable
- Post-transaction
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/files/{file_id}/presigned-urlListar u obtener Presigned Url.
- Dominio
- Reports
- Servicio responsable
- Reports and reconciliation
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/subscriptions/{id}/ordersListar u obtener Orders.
- Dominio
- Subscriptions
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/installments/plans/{installment_plan_option_id}Obtener Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Installments
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptionsListar u obtener Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptionsCrear Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}Eliminar Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}Obtener Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}Actualizar Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}/cancelEjecutar Cancel para Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}/cardsActualizar Cards.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}/historyListar u obtener History.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}/pauseEjecutar Pause para Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/{id}/resumeEjecutar Resume para Subscriptions.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plansListar u obtener Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plansCrear Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plans/{id}Eliminar Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plans/{id}Obtener Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plans/{id}Actualizar Plans.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/plans/statusesListar u obtener Statuses.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/retriesListar u obtener Retries.
- Dominio
- Subscriptions
- Servicio responsable
- Subscription retries
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/retriesCrear Retries.
- Dominio
- Subscriptions
- Servicio responsable
- Subscription retries
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/retries/{id}Eliminar Retries.
- Dominio
- Subscriptions
- Servicio responsable
- Subscription retries
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/retries/{id}Obtener Retries.
- Dominio
- Subscriptions
- Servicio responsable
- Subscription retries
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/retries/{id}Actualizar Retries.
- Dominio
- Subscriptions
- Servicio responsable
- Subscription retries
- Dirigido a
- Backend del comercio · servidor a servidor
/subscriptions/statusesListar u obtener Statuses.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Backend del comercio · servidor a servidor
/trace/logsListar u obtener Logs.
- Dominio
- Trace and audit logs
- Servicio responsable
- Trace and audit logs
- Dirigido a
- Backend del comercio · servidor a servidor
/trace/logs/visibility/groupedListar u obtener Grouped.
- Dominio
- Trace and audit logs
- Servicio responsable
- Trace and audit logs
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/trace/logsListar u obtener Logs.
- Dominio
- Trace and audit logs
- Servicio responsable
- Trace and audit logs
- Dirigido a
- Backend del comercio · servidor a servidor
/hermes/merchants/users/notificationsCrear Notifications.
- Dominio
- Users and identity
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
/merchant-usersListar u obtener Merchant Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/{merchant_id}/policiesListar u obtener Policies.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/identity-tokenCrear Identity Token.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/usersCrear Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/{user_id}Obtener Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/{user_id}Crear Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/{user_id}Actualizar Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/{user_id}/authorizeEjecutar Authorize para Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/{user_id}/generate-change-password-tokenCrear Generate Change Password Token.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/users/change-passwordCrear Change Password.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/merchants/validate-oauthCrear Validate Oauth.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/users/authorizeEjecutar Authorize para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Backend del comercio · servidor a servidor
/users/external-authorizeCrear External Authorize.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Backend del comercio · servidor a servidor
/v1/users/{user_id}/transactions/{transaction_id}Obtener Transactions.
- Dominio
- Users and identity
- Servicio responsable
- Payments
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/identity/change-passwordCrear Change Password.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/identity/userListar u obtener User.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/log-streamCrear Log Stream.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/loginEjecutar Login para Auth.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/mfa-syncCrear Mfa Sync.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/session/bootstrapEjecutar Bootstrap para Session.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/auth/user-org-syncCrear User Org Sync.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/generate-custom-tokenListar u obtener Generate Custom Token.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/usersCrear Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}Actualizar Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/banEjecutar Ban para Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/inviteEjecutar Invite para Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/mfa/resetEjecutar Reset para Mfa.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/security-blockEliminar Security Block.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/security-blockListar u obtener Security Block.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/{user_id}/security-blockCrear Security Block.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/mfa/disableEjecutar Disable para Mfa.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/v2/merchants/users/passwordActualizar Password.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Backend del comercio · servidor a servidor
/vaults/activeListar u obtener Active.
- Dominio
- Vault
- Servicio responsable
- Vault
- Dirigido a
- Backend del comercio · servidor a servidor
/vaults/activeActualizar Active.
- Dominio
- Vault
- Servicio responsable
- Vault
- Dirigido a
- Backend del comercio · servidor a servidor
/hermes/events/create-campaignCrear Create Campaign.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
/hermes/template/{merchantID}Crear Template.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
/hermes/template/{templateID}Eliminar Template.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
/hermes/template/defaultCrear Default.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
/notifications/{userId}Actualizar Notifications.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Backend del comercio · servidor a servidor
Aplicación del cliente · usuario a servidorÚsalo en flujos web o móviles para clientes con la identidad y el contexto de dispositivo indicados.62
/payments-cards/users/{user_id}/cardsListar u obtener Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payment cards
- Dirigido a
- Aplicación del cliente · usuario a servidor
/payments-cards/users/{user_id}/cardsCrear Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payment cards
- Dirigido a
- Aplicación del cliente · usuario a servidor
/payments-cards/users/{user_id}/cards/{card_id}Eliminar Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payment cards
- Dirigido a
- Aplicación del cliente · usuario a servidor
/payments-cards/users/{user_id}/cards/{card_id}Obtener Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payment cards
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cardsListar u obtener Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cardsCrear Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cards/{card_id}Eliminar Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cards/{card_id}Obtener Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cards/{card_id}/refresh-cvvEjecutar Refresh Cvv para Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cards/{card_id}/set-as-defaultEjecutar Set As Default para Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/cards/{card_id}/tokensCrear Tokens.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/v2/users/{user_id}/cardsCrear Cards.
- Dominio
- Cards and vault
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/{merchant_id}/checkoutListar u obtener Checkout.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Aplicación del cliente · usuario a servidor
/checkout/{merchant_id}/configurationActualizar Configuration.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Aplicación del cliente · usuario a servidor
/checkout/{merchant_id}/configurationCrear Configuration.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Aplicación del cliente · usuario a servidor
/checkout/readyListar u obtener Ready.
- Dominio
- Checkout
- Servicio responsable
- Orders and checkout
- Dirigido a
- Aplicación del cliente · usuario a servidor
/checkout/statusListar u obtener Status.
- Dominio
- Checkout
- Servicio responsable
- Users and identity
- Dirigido a
- Aplicación del cliente · usuario a servidor
/shortener/{hash_id}Crear Shortener.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/transactions/{transaction_id}/consent/{consent_id}/redirectListar u obtener Redirect.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/transactions/next-action/{next_action_id}Obtener Next Action.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/usersListar u obtener Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}Eliminar Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}Actualizar Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/accepted-policiesListar u obtener Accepted Policies.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/accepted-policiesCrear Accepted Policies.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/accepted-policies/preferencesCrear Preferences.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/addressesListar u obtener Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/addressesCrear Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/addresses/{address_id}Eliminar Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/addresses/{address_id}Obtener Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/addresses/{address_id}Actualizar Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/change-passwordCrear Change Password.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/{user_id}/transactionsListar u obtener Transactions.
- Dominio
- Users and identity
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/addresses/{address_id}Obtener Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/auth/verifyEjecutar Verify para Auth.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/bulkCrear Bulk.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/change-passwordCrear Change Password.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/forgot-passwordCrear Forgot Password.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/generateEjecutar Generate para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/loginEjecutar Login para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/login/device-fingerprintCrear Device Fingerprint.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/logoutEjecutar Logout para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/meListar u obtener Me.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/payment-methods/{payment_method_id}/tokens/{payment_method}Eliminar Tokens.
- Dominio
- Users and identity
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/payment-methods/tokensCrear Tokens.
- Dominio
- Users and identity
- Servicio responsable
- Payments
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/probeEjecutar Probe para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/probe/{id}Ejecutar Probe para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/registerEjecutar Register para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/request-codeEjecutar Request Code para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/sessionsListar u obtener Sessions.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/sessions/{session_id}/deviceListar u obtener Device.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/sign-messageCrear Sign Message.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/signupEjecutar Signup para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/web/forgot-passwordListar u obtener Forgot Password.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/web/loginEjecutar Login para Web.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/web/password-loginListar u obtener Password Login.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/web/passwordlessListar u obtener Passwordless.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/users/web/signupEjecutar Signup para Web.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/v2/usersListar u obtener Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/v2/users/{user_id}Obtener Users.
- Dominio
- Users and identity
- Servicio responsable
- Users and identity
- Dirigido a
- Aplicación del cliente · usuario a servidor
/v2/users/{user_id}/addressesListar u obtener Addresses.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
/v2/users/loginEjecutar Login para Users.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Aplicación del cliente · usuario a servidor
Backend de red o socioUsado por el backend autorizado de una red, plataforma o socio de integración.15
/networks/{network_id}/processorsListar u obtener Processors.
- Dominio
- Connections
- Servicio responsable
- Payments
- Dirigido a
- Backend de red o socio
/networks/ordersListar u obtener Orders.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend de red o socio
/networks/orders/filters-optionsListar u obtener Filters Options.
- Dominio
- Orders
- Servicio responsable
- Orders and checkout
- Dirigido a
- Backend de red o socio
/networks/fieldsListar u obtener Fields.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/{id}/downloadEjecutar Download para Reports.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/adhocCrear Adhoc.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/adhoc/{report_id}Obtener Adhoc.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/adhoc/{report_id}/logsListar u obtener Logs.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/adhoc/filesListar u obtener Files.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedulesListar u obtener Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedulesCrear Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedules/{id}Eliminar Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedules/{id}Obtener Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedules/{id}Actualizar Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
/networks/reports/schedules/{id}Actualizar Schedules.
- Dominio
- Reports
- Servicio responsable
- Reports
- Dirigido a
- Backend de red o socio
Callback del proveedor · proveedor a DEUNAReceptor de callbacks de proveedores; los comercios no llaman a estas rutas.27
/transactions/webhooks/processors/{processor_name}Crear Processors.
- Dominio
- Connections
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/processors/{processor_name}/refundsCrear Refunds.
- Dominio
- Connections
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/processors/{processor_name}/uninstallEjecutar Uninstall para Processors.
- Dominio
- Connections
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/merchants/{merchant_id}/chargebacks/kushkiCrear Kushki.
- Dominio
- Disputes
- Servicio responsable
- Chargebacks
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/merchants/{merchant_id}/chargebacks/stripeCrear Stripe.
- Dominio
- Disputes
- Servicio responsable
- Chargebacks
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/addiCrear Addi.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/aplazoCrear Aplazo.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/conektaCrear Conekta.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/dlocalCrear Dlocal.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/kueskiCrear Kueski.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/mercadopagoCrear Mercadopago.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/openpayCrear Openpay.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/opm-speiCrear Opm Spei.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/oxxoCrear Oxxo.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/paypalplatform/{transaction_id}Crear Paypalplatform.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/payuCrear Payu.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/stpCrear Stp.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/stripe_oxxoCrear Stripe Oxxo.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/webpayCrear Webpay.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/wompiCrear Wompi.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/transactions/webhooks/zipActualizar Zip.
- Dominio
- Payments
- Servicio responsable
- Payments
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/subscriptions/webhook-configurationsEliminar Webhook Configurations.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/subscriptions/webhook-configurationsListar u obtener Webhook Configurations.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/subscriptions/webhook-configurationsActualizar Webhook Configurations.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/subscriptions/webhook-configurationsCrear Webhook Configurations.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/subscriptions/webhook-configurations/event-typesListar u obtener Event Types.
- Dominio
- Subscriptions
- Servicio responsable
- Subscriptions
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
/hermes/waf/report-data/bts-deliveryCrear Bts Delivery.
- Dominio
- Webhooks and notifications
- Servicio responsable
- Notifications
- Dirigido a
- Callback del proveedor · proveedor a DEUNA
Navegador público o infraestructuraRedirecciones, metadatos, recursos o superficies de salud sin autenticación.3
/users/.well-known/jwks.jsonListar u obtener Jwks.Json.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Navegador público o infraestructura
/users/static/css/{file}Obtener Css.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Navegador público o infraestructura
/users/static/js/{file}Obtener Js.
- Dominio
- Users and identity
- Servicio responsable
- Merchant management
- Dirigido a
- Navegador público o infraestructura
Puntos finales de integración principales#
Las operaciones siguientes conservan los anclajes estables utilizados por las guías de integración y proporcionan contexto adicional para los flujos de trabajo comerciales más comunes.
API de pedidos#
Crear un pedido
POST /merchants/orders
Crea un pedido y devuelve el order_token utilizado por los widgets y operaciones de pago de DEUNA.
El objeto requerido varía según el tipo de pedido: los pedidos de Pago y Suscripciones requieren la matriz de artículos, mientras que los pedidos de Aerolíneas requieren información de la aerolínea. El contrato base no marca una propiedad de artículo individual como universalmente requerida. Ver el referencia de campo de artículo y guía de campo vertical.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/merchants/orders' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Idempotency-Key: IDEMPOTENCY_KEY' \
--header 'X-Prediction-Id: PREDICTION_ID_VALUE' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/merchants/orders", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Idempotency-Key": "IDEMPOTENCY_KEY",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/merchants/orders",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Idempotency-Key": "IDEMPOTENCY_KEY",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Idempotency-Key: IDEMPOTENCY_KEY",
"X-Prediction-Id: PREDICTION_ID_VALUE",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Idempotency-Key", "IDEMPOTENCY_KEY")
.header("X-Prediction-Id", "PREDICTION_ID_VALUE")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/merchants/orders", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Idempotency-Key", "IDEMPOTENCY_KEY")
request.Header.Set("X-Prediction-Id", "PREDICTION_ID_VALUE")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Obtener un pedido
GET /merchants/orders/{order_token}
Recupera el estado actual del pedido, el pago y el procesamiento de un token de pedido.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/merchants/orders/{order_token}' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-merchant-id: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/merchants/orders/{order_token}", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-merchant-id": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/merchants/orders/{order_token}",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-merchant-id": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders/{order_token}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-merchant-id: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders/{order_token}"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-merchant-id", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/merchants/orders/{order_token}", nil)
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-merchant-id", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Obtener métodos de pago para un pedido
GET /merchants/orders/{order_token}/payments-methods
Devuelve los métodos de pago disponibles para un pedido específico y una configuración de comerciante.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Store-Code: STORE_CODE'const response = await fetch("https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Store-Code: STORE_CODE"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Store-Code", "STORE_CODE")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/merchants/orders/{order_token}/payments-methods", nil)
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Store-Code", "STORE_CODE")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Crear consentimiento de billetera
POST /merchants/orders/{order_token}/consent
Crea la autorización del cliente requerida por las conexiones de billetera admitidas. La respuesta puede incluir un proveedor. redirect_url. Ver Flujos de consentimiento.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Store-Code: STORE_CODE' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Store-Code: STORE_CODE",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Store-Code", "STORE_CODE")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Store-Code", "STORE_CODE")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Obtener el consentimiento de la billetera
GET /merchants/orders/{order_token}/consent
Devuelve el último estado de consentimiento. Para las conexiones que admiten el sondeo de proveedores, DEUNA actualiza un consentimiento pendiente elegible antes de devolverlo.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Store-Code: STORE_CODE'const response = await fetch("https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Store-Code": "STORE_CODE"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Store-Code: STORE_CODE"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Store-Code", "STORE_CODE")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/merchants/orders/{order_token}/consent", nil)
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Store-Code", "STORE_CODE")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}API de pagos#
Crear un pago
POST /v2/merchants/orders/purchase
Procesa un pago por un token de pedido existente o por el pedido proporcionado en la solicitud. Ver el detalle guía de solicitud de pago.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/v2/merchants/orders/purchase' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'Cookie: COOKIE_VALUE' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-ID: MERCHANT_ID' \
--header 'X-Prediction-Id: PREDICTION_ID_VALUE' \
--header 'X-Session-Id: SESSION_ID' \
--header 'X-Store-Code: STORE_CODE' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/v2/merchants/orders/purchase", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"Cookie": "COOKIE_VALUE",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-ID": "MERCHANT_ID",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"X-Session-Id": "SESSION_ID",
"X-Store-Code": "STORE_CODE",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/v2/merchants/orders/purchase",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"Cookie": "COOKIE_VALUE",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-ID": "MERCHANT_ID",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"X-Session-Id": "SESSION_ID",
"X-Store-Code": "STORE_CODE",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/v2/merchants/orders/purchase",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"Cookie: COOKIE_VALUE",
"X-Device-Id: DEVICE_ID",
"X-Merchant-ID: MERCHANT_ID",
"X-Prediction-Id: PREDICTION_ID_VALUE",
"X-Session-Id: SESSION_ID",
"X-Store-Code: STORE_CODE",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/v2/merchants/orders/purchase"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("Cookie", "COOKIE_VALUE")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-ID", "MERCHANT_ID")
.header("X-Prediction-Id", "PREDICTION_ID_VALUE")
.header("X-Session-Id", "SESSION_ID")
.header("X-Store-Code", "STORE_CODE")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/v2/merchants/orders/purchase", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("Cookie", "COOKIE_VALUE")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
request.Header.Set("X-Prediction-Id", "PREDICTION_ID_VALUE")
request.Header.Set("X-Session-Id", "SESSION_ID")
request.Header.Set("X-Store-Code", "STORE_CODE")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Capturar un pago
POST /v2/merchants/orders/{order_token}/capture
Captura todo o parte de un pago autorizado. Llámelo desde el backend del comerciante solo cuando la conexión admita autorización y captura por separado.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture",
headers={
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/capture", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Anular una autorización
POST /merchants/orders/{order_token}/void
Libera una autorización elegible antes de la captura. Una solicitud sincrónica exitosa devuelve HTTP 204 No Content; Los flujos de procesador asincrónicos aún deben rastrearse hasta su estado de pago final.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/merchants/orders/{order_token}/void' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/merchants/orders/{order_token}/void", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/merchants/orders/{order_token}/void",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/orders/{order_token}/void",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/orders/{order_token}/void"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/merchants/orders/{order_token}/void", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Reembolsar un pago
POST /v2/merchants/orders/{order_token}/refund
Crea un reembolso total o parcial para un pago procesado.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund",
headers={
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/v2/merchants/orders/{order_token}/refund", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}API de red de usuario#
Estas operaciones soportan la identidad, las direcciones y los instrumentos de pago almacenados de forma segura del cliente. Las aplicaciones de navegador y móviles utilizan la autorización del cliente. Los sistemas de back-end de los comercios utilizan la autorización mostrada para cada ruta en el inventario anterior.
Autenticación
Registrar un usuario
POST /users/register
Crea un usuario que puede autenticar y reutilizar de forma segura los métodos de pago almacenados.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/users/register' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/register", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/users/register",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/register",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-Id: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/register"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/users/register", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Solicitar una OTP
POST /users/request-code
Envía el código de un solo uso utilizado por el flujo de autenticación sin contraseña.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/users/request-code' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/request-code", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/users/request-code",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/request-code",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/request-code"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/users/request-code", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Iniciar sesión con una OTP
POST /users/login
Intercambia un código único válido por un token de autorización de usuario.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/users/login' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'X-Qa-Api-Key: QA_API_KEY_VALUE' \
--header 'X-Recaptcha-Token: RECAPTCHA_TOKEN_VALUE' \
--header 'X-Session-ID: SESSION_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/login", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"X-Qa-Api-Key": "QA_API_KEY_VALUE",
"X-Recaptcha-Token": "RECAPTCHA_TOKEN_VALUE",
"X-Session-ID": "SESSION_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/users/login",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"X-Qa-Api-Key": "QA_API_KEY_VALUE",
"X-Recaptcha-Token": "RECAPTCHA_TOKEN_VALUE",
"X-Session-ID": "SESSION_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/login",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID",
"X-Qa-Api-Key: QA_API_KEY_VALUE",
"X-Recaptcha-Token: RECAPTCHA_TOKEN_VALUE",
"X-Session-ID: SESSION_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/login"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("X-Qa-Api-Key", "QA_API_KEY_VALUE")
.header("X-Recaptcha-Token", "RECAPTCHA_TOKEN_VALUE")
.header("X-Session-ID", "SESSION_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/users/login", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("X-Qa-Api-Key", "QA_API_KEY_VALUE")
request.Header.Set("X-Recaptcha-Token", "RECAPTCHA_TOKEN_VALUE")
request.Header.Set("X-Session-ID", "SESSION_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Autorización externa
POST /users/external-authorize
Autentica a un usuario a través de un flujo de identidad administrado por el comerciante.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/users/external-authorize' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Auth-Message: AUTH_MESSAGE_VALUE' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/external-authorize", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Auth-Message": "AUTH_MESSAGE_VALUE",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/users/external-authorize",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Auth-Message": "AUTH_MESSAGE_VALUE",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/external-authorize",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Auth-Message: AUTH_MESSAGE_VALUE",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/external-authorize"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Auth-Message", "AUTH_MESSAGE_VALUE")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/users/external-authorize", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Auth-Message", "AUTH_MESSAGE_VALUE")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Usuarios
GET /users/me
Devuelve el perfil de usuario autenticado.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/users/me' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/users/me", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/users/me",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/me",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/me"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/users/me", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}GET /v2/users/{user_id}
Recupera un usuario por ID para un contexto de cliente autorizado.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/v2/users/{user_id}' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN'const response = await fetch("https://api.sandbox.deuna.io/v2/users/{user_id}", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/v2/users/{user_id}",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/v2/users/{user_id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/v2/users/{user_id}"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/v2/users/{user_id}", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Direcciones
GET /users/{user_id}/addresses
Enumera las direcciones asociadas con un usuario.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/users/{user_id}/addresses' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/users/{user_id}/addresses", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/users/{user_id}/addresses",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/{user_id}/addresses",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/{user_id}/addresses"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/users/{user_id}/addresses", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}POST /users/{user_id}/addresses
Crea una dirección para un usuario.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/users/{user_id}/addresses' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/{user_id}/addresses", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/users/{user_id}/addresses",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/{user_id}/addresses",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/{user_id}/addresses"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/users/{user_id}/addresses", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}PATCH /users/{user_id}/addresses/{address_id}
Actualiza una dirección existente. El inventario muestra la autorización del portador y el contexto comercial requerido por estas rutas.
Ejemplo de cURL
curl --request PATCH \
--url 'https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Device-Id: DEVICE_ID' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}", {
method: "PATCH",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"PATCH",
"https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Device-Id": "DEVICE_ID",
"X-Merchant-Id": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}",
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Device-Id: DEVICE_ID",
"X-Merchant-Id: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Device-Id", "DEVICE_ID")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("PATCH", "https://api.sandbox.deuna.io/users/{user_id}/addresses/{address_id}", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Device-Id", "DEVICE_ID")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Tarjetas
guardar una tarjeta
POST /v2/users/{user_id}/cards
Almacena una tarjeta tokenizada para su uso posterior. Los datos sin procesar de la tarjeta no deben pasar a través de los servidores del comerciante a menos que el comerciante tenga el alcance PCI requerido.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/v2/users/{user_id}/cards' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Merchant-ID: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/v2/users/{user_id}/cards", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/v2/users/{user_id}/cards",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/v2/users/{user_id}/cards",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/v2/users/{user_id}/cards"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Merchant-ID", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/v2/users/{user_id}/cards", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Enumerar tarjetas almacenadas
GET /payments-cards/users/{user_id}/cards
Devuelve las tarjetas almacenadas del usuario autenticado. Los metadatos de verificación son condicionales. Las tarjetas no verificadas omiten todos los campos de verificación.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY'const response = await fetch("https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Api-Key: YOUR_PRIVATE_API_KEY"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Obtener una tarjeta almacenada
GET /payments-cards/users/{user_id}/cards/{card_id}
Devuelve una tarjeta almacenada. Cuando DEUNA ha verificado correctamente la tarjeta, la respuesta incluye los campos de verificación que se muestran a continuación.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY'const response = await fetch("https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Api-Key": "YOUR_PRIVATE_API_KEY"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Api-Key: YOUR_PRIVATE_API_KEY"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/payments-cards/users/{user_id}/cards/{card_id}", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}{
"data": {
"id": "8b5d0b45-e34f-4fd3-8cb5-79a7041f86ec",
"company": "visa",
"last_four": "4242",
"expiration_date": "12/29",
"is_valid": true,
"verified_by": "card_verifier",
"verified_at": "2026-10-03T12:00:00Z"
}
}| Campo | Cuándo se devuelve | Significado |
|---|---|---|
is_valid | Solo después de una verificación correcta | Siempre true cuando está presente. La ausencia del campo significa que la tarjeta no se ha verificado correctamente; no significa que haya fallado un intento de verificación. |
verified_by | Solo después de una verificación correcta | card_verifier identifica una autorización por importe cero. payment identifica la verificación mediante una transacción de pago. Se puede devolver un verificador específico del procesador cuando este valida la tarjeta durante la tokenización. |
verified_at | Solo después de una verificación correcta | Marca de tiempo ISO 8601 registrada cuando DEUNA marcó la tarjeta como verificada. |
Un pago verifica una tarjeta solo después de que su transacción alcanza processing, processed, authorizedo captured. Las transacciones fallidas y pendientes no verifican la tarjeta. Consulta Tokenización de tarjetas para conocer cómo se relaciona la verificación con la reutilización de tarjetas almacenadas.
Eliminar una cuenta de billetera almacenada
DELETE /users/payment-methods/{payment_method_id}/tokens/{payment_method}
Elimina la cuenta de billetera almacenada del usuario autenticado y su consentimiento reutilizable. Ver Flujos de consentimiento.
Ejemplo de cURL
curl --request DELETE \
--url 'https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'X-Merchant-ID: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}", {
method: "DELETE",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"DELETE",
"https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}",
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"X-Merchant-ID: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("X-Merchant-ID", "MERCHANT_ID")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("DELETE", "https://api.sandbox.deuna.io/users/payment-methods/{payment_method_id}/tokens/{payment_method}", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Obtener información del BIN de la tarjeta
GET /cards/bin/{bin}
Devuelve metadatos de red, emisor y tipo de tarjeta para un BIN de seis dígitos.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/cards/bin/{bin}' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-Id: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/cards/bin/{bin}", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-Id": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/cards/bin/{bin}",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-Id": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/cards/bin/{bin}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-Id: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/cards/bin/{bin}"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-Id", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/cards/bin/{bin}", nil)
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}API comercial#
Métodos de pago
GET /merchants/stores/payments-methods
Devuelve los métodos de pago habilitados para una tienda. Pase el código de la tienda en el requerido X-Store-Code header.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/merchants/stores/payments-methods' \
--header 'X-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Idempotency-Key: IDEMPOTENCY_KEY' \
--header 'X-Merchant-Id: MERCHANT_ID' \
--header 'X-Prediction-Id: PREDICTION_ID_VALUE' \
--header 'X-Store-Code: STORE_CODE'const response = await fetch("https://api.sandbox.deuna.io/merchants/stores/payments-methods", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Idempotency-Key": "IDEMPOTENCY_KEY",
"X-Merchant-Id": "MERCHANT_ID",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"X-Store-Code": "STORE_CODE"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/merchants/stores/payments-methods",
headers={
"X-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Idempotency-Key": "IDEMPOTENCY_KEY",
"X-Merchant-Id": "MERCHANT_ID",
"X-Prediction-Id": "PREDICTION_ID_VALUE",
"X-Store-Code": "STORE_CODE"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/stores/payments-methods",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Idempotency-Key: IDEMPOTENCY_KEY",
"X-Merchant-Id: MERCHANT_ID",
"X-Prediction-Id: PREDICTION_ID_VALUE",
"X-Store-Code: STORE_CODE"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/stores/payments-methods"))
.header("X-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Idempotency-Key", "IDEMPOTENCY_KEY")
.header("X-Merchant-Id", "MERCHANT_ID")
.header("X-Prediction-Id", "PREDICTION_ID_VALUE")
.header("X-Store-Code", "STORE_CODE")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/merchants/stores/payments-methods", nil)
if err != nil { panic(err) }
request.Header.Set("X-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Idempotency-Key", "IDEMPOTENCY_KEY")
request.Header.Set("X-Merchant-Id", "MERCHANT_ID")
request.Header.Set("X-Prediction-Id", "PREDICTION_ID_VALUE")
request.Header.Set("X-Store-Code", "STORE_CODE")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}API de enlaces de pago#
POST /merchants/payment-links
Crea un enlace de pago desde un backend comercial confiable.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/merchants/payment-links' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/merchants/payment-links", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/merchants/payment-links",
headers={
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/payment-links",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/payment-links"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/merchants/payment-links", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}GET /merchants/payment-links/{payment_link_id}
Recupera un enlace de pago y su estado actual.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}'const response = await fetch("https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}", {
method: "GET"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}", nil)
if err != nil { panic(err) }
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}PATCH /merchants/payment-links/{payment_link_id}
Actualiza un enlace de pago existente.
Ejemplo de cURL
curl --request PATCH \
--url 'https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}", {
method: "PATCH",
headers: {
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"PATCH",
"https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}",
headers={
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}",
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}"))
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("PATCH", "https://api.sandbox.deuna.io/merchants/payment-links/{payment_link_id}", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Ver el Guía de integración de enlaces de pago para el flujo de extremo a extremo.
API de suscripciones#
Planes
GET /subscriptions/plans
Enumera los planes de suscripción disponibles para el comerciante autenticado.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/subscriptions/plans' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-ID: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/subscriptions/plans", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/subscriptions/plans",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/subscriptions/plans",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-ID: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/subscriptions/plans"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-ID", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/subscriptions/plans", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}POST /subscriptions/plans
Crea un plan de suscripción.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/subscriptions/plans' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-ID: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/subscriptions/plans", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/subscriptions/plans",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/subscriptions/plans",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-ID: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/subscriptions/plans"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-ID", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/subscriptions/plans", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Suscripciones
Listar suscripciones
GET /subscriptions
Devuelve las suscripciones disponibles para el comerciante autenticado.
Ejemplo de cURL
curl --request GET \
--url 'https://api.sandbox.deuna.io/subscriptions' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-ID: MERCHANT_ID'const response = await fetch("https://api.sandbox.deuna.io/subscriptions", {
method: "GET",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.sandbox.deuna.io/subscriptions",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID"
},
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/subscriptions",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-ID: MERCHANT_ID"
]
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/subscriptions"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-ID", "MERCHANT_ID")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.sandbox.deuna.io/subscriptions", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Crear una suscripción
POST /subscriptions
Crea una suscripción utilizando un plan y un método de pago existentes.
Ejemplo de cURL
curl --request POST \
--url 'https://api.sandbox.deuna.io/subscriptions' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-ID: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/subscriptions", {
method: "POST",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"POST",
"https://api.sandbox.deuna.io/subscriptions",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/subscriptions",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-ID: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/subscriptions"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-ID", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.sandbox.deuna.io/subscriptions", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}Actualizar una suscripción
PATCH /subscriptions/{id}
Actualiza los atributos admitidos de una suscripción activa.
Ejemplo de cURL
curl --request PATCH \
--url 'https://api.sandbox.deuna.io/subscriptions/{id}' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'x-Api-Key: YOUR_PRIVATE_API_KEY' \
--header 'X-Merchant-ID: MERCHANT_ID' \
--header 'Content-Type: application/json' \
--data @request.jsonconst response = await fetch("https://api.sandbox.deuna.io/subscriptions/{id}", {
method: "PATCH",
headers: {
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
body: "@request.json"
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();import requests
response = requests.request(
"PATCH",
"https://api.sandbox.deuna.io/subscriptions/{id}",
headers={
"Authorization": "Bearer USER_ACCESS_TOKEN",
"x-Api-Key": "YOUR_PRIVATE_API_KEY",
"X-Merchant-ID": "MERCHANT_ID",
"Content-Type": "application/json"
},
data="@request.json",
)
response.raise_for_status()
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.deuna.io/subscriptions/{id}",
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer USER_ACCESS_TOKEN",
"x-Api-Key: YOUR_PRIVATE_API_KEY",
"X-Merchant-ID: MERCHANT_ID",
"Content-Type: application/json"
],
CURLOPT_POSTFIELDS => "@request.json"
]);
$response = curl_exec($curl);
curl_close($curl);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Example {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sandbox.deuna.io/subscriptions/{id}"))
.header("Authorization", "Bearer USER_ACCESS_TOKEN")
.header("x-Api-Key", "YOUR_PRIVATE_API_KEY")
.header("X-Merchant-ID", "MERCHANT_ID")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("@request.json"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("PATCH", "https://api.sandbox.deuna.io/subscriptions/{id}", strings.NewReader("@request.json"))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer USER_ACCESS_TOKEN")
request.Header.Set("x-Api-Key", "YOUR_PRIVATE_API_KEY")
request.Header.Set("X-Merchant-ID", "MERCHANT_ID")
request.Header.Set("Content-Type", "application/json")
response, err := http.DefaultClient.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}