Catalogo degli endpoint
Route canoniche per gli endpoint di ordine, pagamento, utente, carta e abbonamento DEUNA a cui si fa riferimento nella documentazione.
In questa pagina
Utilizza questo catalogo quando una guida si collega a un'operazione API. I percorsi e i metodi HTTP vengono mantenuti stabili in modo che le guide di integrazione più vecchie si risolvano in una destinazione utile e attuale.
Completa l'inventario API Gateway#
Questo inventario viene generato dalla configurazione effettiva di API Gateway, anziché dallo snapshot OpenAPI legacy più piccolo. Utilizza i filtri per identificare chi deve chiamare un'operazione, quale servizio ne è proprietario, quale autorizzazione supporta e quali intestazioni il gateway accetta o inoltra.
Il catalogo include API per commercianti e clienti, percorsi per partner, callback per fornitori e percorsi pubblici per browser. Le operazioni di amministrazione interne e di gestione sono escluse. I callback per fornitori sono forniti a scopo di integrazione e non devono essere chiamati dalle integrazioni dei commercianti.
Generato dalle rotte pubbliche della configurazione effettiva dell’API Gateway.
Backend del merchant · server to serverDa usare da un backend affidabile del merchant per ordini, pagamenti e flussi operativi.278
/cards/bin/{bin}Recuperare Bin.
- Dominio
- Cards and vault
- Servizio responsabile
- Card metadata
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/gift-cardsCreare Gift Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/couponsCreare Coupons.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/coupons/{coupon_code}Eliminare Coupons.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/custom-fieldsAggiornare Custom Fields.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/shipping-methodsCreare Shipping Methods.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/shipping-methods/{code}Aggiornare Shipping Methods.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/shipping-rateCreare Shipping Rate.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/credentialsElencare o recuperare Credentials.
- Dominio
- Connections
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputesElencare o recuperare Disputes.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputesCreare Disputes.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}Recuperare Disputes.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/draftAggiornare Draft.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidenceElencare o recuperare Evidence.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidenceCreare Evidence.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidence/{evidence_id}Recuperare Evidence.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidence/{evidence_id}/archiveEseguire Archive per Evidence.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidence/{evidence_id}/versionsCreare Versions.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/completeEseguire Complete per Versions.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/downloadEseguire Download per Versions.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requestsElencare o recuperare Information Requests.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requestsCreare Information Requests.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requests/{request_id}Recuperare Information Requests.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requests/{request_id}/dismissEseguire Dismiss per Information Requests.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requests/{request_id}/resolveEseguire Resolve per Information Requests.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/information-requests/{request_id}/responsesCreare Responses.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/metadataAggiornare Metadata.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/requirementsElencare o recuperare Requirements.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/reviewsCreare Reviews.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/reviews/{review_id}Recuperare Reviews.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/reviews/{review_id}/approveEseguire Approve per Reviews.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/reviews/{review_id}/snapshotElencare o recuperare Snapshot.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/submissionsElencare o recuperare Submissions.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/submissions/{submission_id}Recuperare Submissions.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/submitEseguire Submit per Disputes.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/{id}/updatesElencare o recuperare Updates.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/capabilitiesElencare o recuperare Capabilities.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/connectionsElencare o recuperare Connections.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/disputes/connections/{processor_account_id}Recuperare Connections.
- Dominio
- Disputes
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/avs/codesElencare o recuperare Codes.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/filters/anti-fraud-providersElencare o recuperare Anti Fraud Providers.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchant/anti-fraud-processorElencare o recuperare Anti Fraud Processor.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/fraud-settingsEliminare Fraud Settings.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/fraud-settingsElencare o recuperare Fraud Settings.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/fraud-settingsAggiornare Fraud Settings.
- Dominio
- Fraud and risk
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/filters/acquirers/merchants/{merchant_id}Recuperare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Reports and reconciliation
- Destinato a
- Backend del merchant · server to server
/filters/data_source/merchants/{merchant_id}Recuperare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Reports and reconciliation
- Destinato a
- Backend del merchant · server to server
/fulfillments/{provider}/{merchant_id}Creare Fulfillments.
- Dominio
- Merchant administration
- Servizio responsabile
- Post-transaction
- Destinato a
- Backend del merchant · server to server
/merchant/{id}/avs/historyElencare o recuperare History.
- Dominio
- Merchant administration
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchant/{id}/profileElencare o recuperare Profile.
- Dominio
- Merchant administration
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchant/{id}/profileAggiornare Profile.
- Dominio
- Merchant administration
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchant/profileCreare Profile.
- Dominio
- Merchant administration
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchant/transaction/{id}Recuperare Transaction.
- Dominio
- Merchant administration
- Servizio responsabile
- Fraud and risk
- Destinato a
- Backend del merchant · server to server
/merchantsElencare o recuperare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchantsCreare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants-allElencare o recuperare Merchants All.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants-tokens/meElencare o recuperare Me.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}Recuperare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}Aggiornare Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/applicationsElencare o recuperare Applications.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/applicationsAggiornare Applications.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/applicationsCreare Applications.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/applications/{application_id}Recuperare Applications.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/applications/{application_id}/storesCreare Stores.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/configurationsElencare o recuperare Configurations.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/configurationsCreare Configurations.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/configurations/{configuration_id}Eliminare Configurations.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/configurations/{configuration_id}Recuperare Configurations.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/decryptCreare Decrypt.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/external-endpointsCreare External Endpoints.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}Eliminare External Endpoints.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}Aggiornare External Endpoints.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/filesElencare o recuperare Files.
- Dominio
- Merchant administration
- Servizio responsabile
- Reports and reconciliation
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/onboarding_step/{step}Creare Onboarding Step.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/public-keysCreare Public Keys.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/recipientsElencare o recuperare Recipients.
- Dominio
- Merchant administration
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/recipientsCreare Recipients.
- Dominio
- Merchant administration
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/recipients/{recipient_id}Eliminare Recipients.
- Dominio
- Merchant administration
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/recipients/{recipient_id}Aggiornare Recipients.
- Dominio
- Merchant administration
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/storesElencare o recuperare Stores.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/storesCreare Stores.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/tokensCreare Tokens.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/applications/validateElencare o recuperare Validate.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/applications/validateAggiornare Validate.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/applications/validateCreare Validate.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/audit-logsElencare o recuperare Audit Logs.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/audit-logs/exportsElencare o recuperare Exports.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/audit-logs/exportsCreare Exports.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/audit-logs/exports/{export_id}/downloadEseguire Download per Exports.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/audit-logs/filtersElencare o recuperare Filters.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/billing/invoicesElencare o recuperare Invoices.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/billing/invoices/{invoice_id}Recuperare Invoices.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/countries/{country}/{state}/citiesElencare o recuperare Cities.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/countries/{country}/banksElencare o recuperare Banks.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/countries/{country}/citiesElencare o recuperare Cities.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/countries/{country}/statesElencare o recuperare States.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/countries/listElencare o recuperare List.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/data/airline-informationElencare o recuperare Airline Information.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/data/airline-informationCreare Airline Information.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/data/airline-information/{source_version}/rollbackEseguire Rollback per Airline Information.
- Dominio
- Merchant administration
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/domain/{record}/validateCreare Validate.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/domain/validateCreare Validate.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/loginEseguire Login per Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/merchant-eventsElencare o recuperare Merchant Events.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/merchant-events/{merchant_id}Recuperare Merchant Events.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/merchant-events/{merchant_id}Creare Merchant Events.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/msiEliminare Msi.
- Dominio
- Merchant administration
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/msiElencare o recuperare Msi.
- Dominio
- Merchant administration
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/msiCreare Msi.
- Dominio
- Merchant administration
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/msi/{merchant_id}Recuperare Msi.
- Dominio
- Merchant administration
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/request-codeEseguire Request Code per Merchants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/resources/external-endpointsElencare o recuperare External Endpoints.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/self-onboardingCreare Self Onboarding.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/validate-codeCreare Validate Code.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/tenantsElencare o recuperare Tenants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/tenantsCreare Tenants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/tenants/{tenant_id}Recuperare Tenants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/tenants/{tenant_id}Aggiornare Tenants.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants-tokens/meElencare o recuperare Me.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/{merchant_id}/security/mfaElencare o recuperare Mfa.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/{merchant_id}/security/mfaAggiornare Mfa.
- Dominio
- Merchant administration
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/ordersElencare o recuperare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}Recuperare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/captureEseguire Capture per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/payment_optionsElencare o recuperare Payment Options.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/refundCreare Refund.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/status/{status}Creare Status.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/voidEseguire Void per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/vouchersElencare o recuperare Vouchers.
- Dominio
- Orders
- Servizio responsabile
- Vouchers
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/orders/{order_token}/vouchersCreare Vouchers.
- Dominio
- Orders
- Servizio responsabile
- Vouchers
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/billing-addressCreare Billing Address.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/external-orders/{order_token}/scheduleCreare Schedule.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/ordersElencare o recuperare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/ordersCreare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}Recuperare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}Aggiornare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/cancelEseguire Cancel per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/captureEseguire Capture per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/capture-asyncCreare Capture Async.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/consentElencare o recuperare Consent.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/consentCreare Consent.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/expireEseguire Expire per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/payments-methodsElencare o recuperare Payments Methods.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/promotionsCreare Promotions.
- Dominio
- Orders
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/refundCreare Refund.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/refund-asyncCreare Refund Async.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/successEseguire Success per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/transactions/nequi/verifyEseguire Verify per Nequi.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/transactions/verifyEseguire Verify per Transactions.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/voidEseguire Void per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/{order_token}/void-asyncEseguire Void Async per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/filters-optionsElencare o recuperare Filters Options.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/orders/id/{order_id}Recuperare Id.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/transactions/orders/{order_token}/installmentsElencare o recuperare Installments.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/orders/statusElencare o recuperare Status.
- Dominio
- Orders
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/v2/merchants/{merchant_id}/orders/{order_token}/captureEseguire Capture per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/v2/merchants/orders/{order_token}/captureEseguire Capture per Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/v2/merchants/orders/{order_token}/refundCreare Refund.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/v2/merchants/orders/purchaseCreare Purchase.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/payments/links/templatesElencare o recuperare Templates.
- Dominio
- Payment links
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/payments/links/templatesCreare Templates.
- Dominio
- Payment links
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/payments/links/templates/{template_id}Recuperare Templates.
- Dominio
- Payment links
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/payments/links/templates/{template_id}Aggiornare Templates.
- Dominio
- Payment links
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/payment-linksCreare Payment Links.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/payment-links/{payment_link_id}Recuperare Payment Links.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/payment-links/{payment_link_id}Aggiornare Payment Links.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/payment-links/{payment_link_id}/ordersElencare o recuperare Orders.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/payment-links/allElencare o recuperare All.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/payments/links/templates/{template_id}/ordersElencare o recuperare Orders.
- Dominio
- Payment links
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/payment-links/{payment_link_id}Recuperare Payment Links.
- Dominio
- Payment links
- Servizio responsabile
- Payment links
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/batch-transactionsElencare o recuperare Batch Transactions.
- Dominio
- Payments
- Servizio responsabile
- Batch transactions
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/batch-transactionsCreare Batch Transactions.
- Dominio
- Payments
- Servizio responsabile
- Batch transactions
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/batch-transactions/{batch_id}Recuperare Batch Transactions.
- Dominio
- Payments
- Servizio responsabile
- Batch transactions
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/installmentsEliminare Installments.
- Dominio
- Payments
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/installmentsElencare o recuperare Installments.
- Dominio
- Payments
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/installmentsCreare Installments.
- Dominio
- Payments
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/transactionsElencare o recuperare Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/merchants/stores/payments-methodsElencare o recuperare Payments Methods.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/payments-middleware/manifestElencare o recuperare Manifest.
- Dominio
- Payments
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/payments-middleware/payment-methodsElencare o recuperare Payment Methods.
- Dominio
- Payments
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/payments-middleware/paymentsCreare Payments.
- Dominio
- Payments
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/payments-middleware/payments/{payment_id}/cancellationsCreare Cancellations.
- Dominio
- Payments
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/payments-middleware/payments/{payment_id}/refundsCreare Refunds.
- Dominio
- Payments
- Servizio responsabile
- Merchant middleware
- Destinato a
- Backend del merchant · server to server
/payments-vault/tokenizationCreare Tokenization.
- Dominio
- Payments
- Servizio responsabile
- Vault
- Destinato a
- Backend del merchant · server to server
/payments-vault/tokenization/{uuid}/cvvCreare Cvv.
- Dominio
- Payments
- Servizio responsabile
- Vault
- Destinato a
- Backend del merchant · server to server
/post-transactions/{provider}Creare Post Transactions.
- Dominio
- Payments
- Servizio responsabile
- Post-transaction
- Destinato a
- Backend del merchant · server to server
/telcel-middleware/transactions/inquiryCreare Inquiry.
- Dominio
- Payments
- Servizio responsabile
- Telcel middleware
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/{request_id_hash}/cancelEseguire Cancel per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/captureEseguire Capture per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/refundCreare Refund.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/statusAggiornare Status.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/status/nequiCreare Nequi.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/three-ds-flowElencare o recuperare Three Ds Flow.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/three-ds-flow/completeEseguire Complete per Three Ds Flow.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/three-ds-flow/completeEseguire Complete per Three Ds Flow.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/three-ds-flow/continueEseguire Continue per Three Ds Flow.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/transfer/{current_store_code}/{new_store_code}Eseguire Transfer per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/verifyEseguire Verify per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/voidEseguire Void per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/{transaction_id}/void-asyncEseguire Void Async per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/internal-searchElencare o recuperare Internal Search.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/payments-methodsElencare o recuperare Payments Methods.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/payments-methods/{method_type}/installmentsElencare o recuperare Installments.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/searchEseguire Search per Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/update-processing-transactionsElencare o recuperare Update Processing Transactions.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/verify3dsElencare o recuperare Verify3ds.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/verify3dsCreare Verify3ds.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/transactions/view_challengeElencare o recuperare View Challenge.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/manual-reviewCreare Manual Review.
- Dominio
- Post-transaction
- Servizio responsabile
- Post-transaction
- Destinato a
- Backend del merchant · server to server
/post-transaction-manual-process/{action}Creare Post Transaction Manual Process.
- Dominio
- Post-transaction
- Servizio responsabile
- Post-transaction
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/files/{file_id}/presigned-urlElencare o recuperare Presigned Url.
- Dominio
- Reports
- Servizio responsabile
- Reports and reconciliation
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/subscriptions/{id}/ordersElencare o recuperare Orders.
- Dominio
- Subscriptions
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend del merchant · server to server
/merchants/installments/plans/{installment_plan_option_id}Recuperare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Installments
- Destinato a
- Backend del merchant · server to server
/subscriptionsElencare o recuperare Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptionsCreare Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}Eliminare Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}Recuperare Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}Aggiornare Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}/cancelEseguire Cancel per Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}/cardsAggiornare Cards.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}/historyElencare o recuperare History.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}/pauseEseguire Pause per Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/{id}/resumeEseguire Resume per Subscriptions.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plansElencare o recuperare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plansCreare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plans/{id}Eliminare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plans/{id}Recuperare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plans/{id}Aggiornare Plans.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/plans/statusesElencare o recuperare Statuses.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/subscriptions/retriesElencare o recuperare Retries.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscription retries
- Destinato a
- Backend del merchant · server to server
/subscriptions/retriesCreare Retries.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscription retries
- Destinato a
- Backend del merchant · server to server
/subscriptions/retries/{id}Eliminare Retries.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscription retries
- Destinato a
- Backend del merchant · server to server
/subscriptions/retries/{id}Recuperare Retries.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscription retries
- Destinato a
- Backend del merchant · server to server
/subscriptions/retries/{id}Aggiornare Retries.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscription retries
- Destinato a
- Backend del merchant · server to server
/subscriptions/statusesElencare o recuperare Statuses.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Backend del merchant · server to server
/trace/logsElencare o recuperare Logs.
- Dominio
- Trace and audit logs
- Servizio responsabile
- Trace and audit logs
- Destinato a
- Backend del merchant · server to server
/trace/logs/visibility/groupedElencare o recuperare Grouped.
- Dominio
- Trace and audit logs
- Servizio responsabile
- Trace and audit logs
- Destinato a
- Backend del merchant · server to server
/v2/trace/logsElencare o recuperare Logs.
- Dominio
- Trace and audit logs
- Servizio responsabile
- Trace and audit logs
- Destinato a
- Backend del merchant · server to server
/hermes/merchants/users/notificationsCreare Notifications.
- Dominio
- Users and identity
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
/merchant-usersElencare o recuperare Merchant Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/{merchant_id}/policiesElencare o recuperare Policies.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/identity-tokenCreare Identity Token.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/usersCreare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/{user_id}Recuperare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/{user_id}Creare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/{user_id}Aggiornare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/{user_id}/authorizeEseguire Authorize per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/{user_id}/generate-change-password-tokenCreare Generate Change Password Token.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/users/change-passwordCreare Change Password.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/merchants/validate-oauthCreare Validate Oauth.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/users/authorizeEseguire Authorize per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Backend del merchant · server to server
/users/external-authorizeCreare External Authorize.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Backend del merchant · server to server
/v1/users/{user_id}/transactions/{transaction_id}Recuperare Transactions.
- Dominio
- Users and identity
- Servizio responsabile
- Payments
- Destinato a
- Backend del merchant · server to server
/v2/auth/identity/change-passwordCreare Change Password.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/identity/userElencare o recuperare User.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/log-streamCreare Log Stream.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/loginEseguire Login per Auth.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/mfa-syncCreare Mfa Sync.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/session/bootstrapEseguire Bootstrap per Session.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/auth/user-org-syncCreare User Org Sync.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/generate-custom-tokenElencare o recuperare Generate Custom Token.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/usersCreare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}Aggiornare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/banEseguire Ban per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/inviteEseguire Invite per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/mfa/resetEseguire Reset per Mfa.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/security-blockEliminare Security Block.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/security-blockElencare o recuperare Security Block.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/{user_id}/security-blockCreare Security Block.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/mfa/disableEseguire Disable per Mfa.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/v2/merchants/users/passwordAggiornare Password.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Backend del merchant · server to server
/vaults/activeElencare o recuperare Active.
- Dominio
- Vault
- Servizio responsabile
- Vault
- Destinato a
- Backend del merchant · server to server
/vaults/activeAggiornare Active.
- Dominio
- Vault
- Servizio responsabile
- Vault
- Destinato a
- Backend del merchant · server to server
/hermes/events/create-campaignCreare Create Campaign.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
/hermes/template/{merchantID}Creare Template.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
/hermes/template/{templateID}Eliminare Template.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
/hermes/template/defaultCreare Default.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
/notifications/{userId}Aggiornare Notifications.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Backend del merchant · server to server
Applicazione cliente · utente verso serverDa usare nei flussi Web o mobili con l’identità e il contesto del dispositivo indicati.62
/payments-cards/users/{user_id}/cardsElencare o recuperare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payment cards
- Destinato a
- Applicazione cliente · utente verso server
/payments-cards/users/{user_id}/cardsCreare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payment cards
- Destinato a
- Applicazione cliente · utente verso server
/payments-cards/users/{user_id}/cards/{card_id}Eliminare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payment cards
- Destinato a
- Applicazione cliente · utente verso server
/payments-cards/users/{user_id}/cards/{card_id}Recuperare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payment cards
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cardsElencare o recuperare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cardsCreare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cards/{card_id}Eliminare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cards/{card_id}Recuperare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cards/{card_id}/refresh-cvvEseguire Refresh Cvv per Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cards/{card_id}/set-as-defaultEseguire Set As Default per Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/cards/{card_id}/tokensCreare Tokens.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/v2/users/{user_id}/cardsCreare Cards.
- Dominio
- Cards and vault
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/{merchant_id}/checkoutElencare o recuperare Checkout.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Applicazione cliente · utente verso server
/checkout/{merchant_id}/configurationAggiornare Configuration.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Applicazione cliente · utente verso server
/checkout/{merchant_id}/configurationCreare Configuration.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Applicazione cliente · utente verso server
/checkout/readyElencare o recuperare Ready.
- Dominio
- Checkout
- Servizio responsabile
- Orders and checkout
- Destinato a
- Applicazione cliente · utente verso server
/checkout/statusElencare o recuperare Status.
- Dominio
- Checkout
- Servizio responsabile
- Users and identity
- Destinato a
- Applicazione cliente · utente verso server
/shortener/{hash_id}Creare Shortener.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/transactions/{transaction_id}/consent/{consent_id}/redirectElencare o recuperare Redirect.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/transactions/next-action/{next_action_id}Recuperare Next Action.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/usersElencare o recuperare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}Eliminare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}Aggiornare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/accepted-policiesElencare o recuperare Accepted Policies.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/accepted-policiesCreare Accepted Policies.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/accepted-policies/preferencesCreare Preferences.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/addressesElencare o recuperare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/addressesCreare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/addresses/{address_id}Eliminare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/addresses/{address_id}Recuperare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/addresses/{address_id}Aggiornare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/change-passwordCreare Change Password.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/{user_id}/transactionsElencare o recuperare Transactions.
- Dominio
- Users and identity
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/addresses/{address_id}Recuperare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/auth/verifyEseguire Verify per Auth.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/bulkCreare Bulk.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/change-passwordCreare Change Password.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/forgot-passwordCreare Forgot Password.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/generateEseguire Generate per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/loginEseguire Login per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/login/device-fingerprintCreare Device Fingerprint.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/logoutEseguire Logout per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/meElencare o recuperare Me.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/payment-methods/{payment_method_id}/tokens/{payment_method}Eliminare Tokens.
- Dominio
- Users and identity
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/payment-methods/tokensCreare Tokens.
- Dominio
- Users and identity
- Servizio responsabile
- Payments
- Destinato a
- Applicazione cliente · utente verso server
/users/probeEseguire Probe per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/probe/{id}Eseguire Probe per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/registerEseguire Register per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/request-codeEseguire Request Code per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/sessionsElencare o recuperare Sessions.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/sessions/{session_id}/deviceElencare o recuperare Device.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/sign-messageCreare Sign Message.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/signupEseguire Signup per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/web/forgot-passwordElencare o recuperare Forgot Password.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/web/loginEseguire Login per Web.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/web/password-loginElencare o recuperare Password Login.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/web/passwordlessElencare o recuperare Passwordless.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/users/web/signupEseguire Signup per Web.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/v2/usersElencare o recuperare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/v2/users/{user_id}Recuperare Users.
- Dominio
- Users and identity
- Servizio responsabile
- Users and identity
- Destinato a
- Applicazione cliente · utente verso server
/v2/users/{user_id}/addressesElencare o recuperare Addresses.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
/v2/users/loginEseguire Login per Users.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Applicazione cliente · utente verso server
Backend di rete o partnerUsato dal backend autorizzato di una rete, piattaforma o partner di integrazione.15
/networks/{network_id}/processorsElencare o recuperare Processors.
- Dominio
- Connections
- Servizio responsabile
- Payments
- Destinato a
- Backend di rete o partner
/networks/ordersElencare o recuperare Orders.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend di rete o partner
/networks/orders/filters-optionsElencare o recuperare Filters Options.
- Dominio
- Orders
- Servizio responsabile
- Orders and checkout
- Destinato a
- Backend di rete o partner
/networks/fieldsElencare o recuperare Fields.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/{id}/downloadEseguire Download per Reports.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/adhocCreare Adhoc.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/adhoc/{report_id}Recuperare Adhoc.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/adhoc/{report_id}/logsElencare o recuperare Logs.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/adhoc/filesElencare o recuperare Files.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedulesElencare o recuperare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedulesCreare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedules/{id}Eliminare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedules/{id}Recuperare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedules/{id}Aggiornare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
/networks/reports/schedules/{id}Aggiornare Schedules.
- Dominio
- Reports
- Servizio responsabile
- Reports
- Destinato a
- Backend di rete o partner
Callback del provider · provider verso DEUNARicevitore di callback dei provider; i merchant non chiamano questi percorsi.27
/transactions/webhooks/processors/{processor_name}Creare Processors.
- Dominio
- Connections
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/processors/{processor_name}/refundsCreare Refunds.
- Dominio
- Connections
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/processors/{processor_name}/uninstallEseguire Uninstall per Processors.
- Dominio
- Connections
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/merchants/{merchant_id}/chargebacks/kushkiCreare Kushki.
- Dominio
- Disputes
- Servizio responsabile
- Chargebacks
- Destinato a
- Callback del provider · provider verso DEUNA
/merchants/{merchant_id}/chargebacks/stripeCreare Stripe.
- Dominio
- Disputes
- Servizio responsabile
- Chargebacks
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/addiCreare Addi.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/aplazoCreare Aplazo.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/conektaCreare Conekta.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/dlocalCreare Dlocal.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/kueskiCreare Kueski.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/mercadopagoCreare Mercadopago.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/openpayCreare Openpay.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/opm-speiCreare Opm Spei.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/oxxoCreare Oxxo.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/paypalplatform/{transaction_id}Creare Paypalplatform.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/payuCreare Payu.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/stpCreare Stp.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/stripe_oxxoCreare Stripe Oxxo.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/webpayCreare Webpay.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/wompiCreare Wompi.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/transactions/webhooks/zipAggiornare Zip.
- Dominio
- Payments
- Servizio responsabile
- Payments
- Destinato a
- Callback del provider · provider verso DEUNA
/subscriptions/webhook-configurationsEliminare Webhook Configurations.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Callback del provider · provider verso DEUNA
/subscriptions/webhook-configurationsElencare o recuperare Webhook Configurations.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Callback del provider · provider verso DEUNA
/subscriptions/webhook-configurationsAggiornare Webhook Configurations.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Callback del provider · provider verso DEUNA
/subscriptions/webhook-configurationsCreare Webhook Configurations.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Callback del provider · provider verso DEUNA
/subscriptions/webhook-configurations/event-typesElencare o recuperare Event Types.
- Dominio
- Subscriptions
- Servizio responsabile
- Subscriptions
- Destinato a
- Callback del provider · provider verso DEUNA
/hermes/waf/report-data/bts-deliveryCreare Bts Delivery.
- Dominio
- Webhooks and notifications
- Servizio responsabile
- Notifications
- Destinato a
- Callback del provider · provider verso DEUNA
Browser pubblico o infrastrutturaReindirizzamenti, metadati, risorse o superfici di salute senza autenticazione.3
/users/.well-known/jwks.jsonElencare o recuperare Jwks.Json.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Browser pubblico o infrastruttura
/users/static/css/{file}Recuperare Css.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Browser pubblico o infrastruttura
/users/static/js/{file}Recuperare Js.
- Dominio
- Users and identity
- Servizio responsabile
- Merchant management
- Destinato a
- Browser pubblico o infrastruttura
Endpoint di integrazione principali#
Le operazioni seguenti mantengono gli ancoraggi stabili utilizzati dalle guide di integrazione e forniscono un contesto aggiuntivo per i flussi di lavoro dei commercianti più comuni.
API degli ordini#
Crea un ordine
POST /merchants/orders
Crea un ordine e restituisce il file order_token utilizzato dai widget DEUNA e dalle operazioni di pagamento.
L'oggetto richiesto varia in base al tipo di ordine: gli ordini di pagamento e abbonamenti richiedono l'array di articoli, mentre gli ordini di compagnie aeree richiedono informazioni sulla compagnia aerea. Il contratto di base non contrassegna la proprietà di un singolo articolo come universalmente richiesta. Vedi il riferimento del campo articolo e guida del campo verticale.
Esempio 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))
}Ottieni un ordine
GET /merchants/orders/{order_token}
Recupera lo stato corrente dell'ordine, del pagamento e dell'elaborazione per un token dell'ordine.
Esempio 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))
}Ottieni i metodi di pagamento per un ordine
GET /merchants/orders/{order_token}/payments-methods
Restituisce i metodi di pagamento disponibili per un ordine specifico e una configurazione del commerciante.
Esempio 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))
}Crea il consenso del portafoglio
POST /merchants/orders/{order_token}/consent
Crea l'autorizzazione del cliente richiesta dalle connessioni del portafoglio supportate. La risposta può includere un provider redirect_url. Vedi Flussi di consenso.
Esempio 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))
}Ottieni il consenso del portafoglio
GET /merchants/orders/{order_token}/consent
Restituisce l'ultimo stato del consenso. Per le connessioni che supportano il polling del provider, DEUNA aggiorna un consenso in sospeso idoneo prima di restituirlo.
Esempio 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 dei pagamenti#
Creare un pagamento
POST /v2/merchants/orders/purchase
Elabora un pagamento per un token ordine esistente o per l'ordine fornito nella richiesta. Vedi il dettaglio guida alla richiesta di pagamento.
Esempio 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))
}Cattura un pagamento
POST /v2/merchants/orders/{order_token}/capture
Cattura tutto o parte di un pagamento autorizzato. Chiamalo dal backend del commerciante solo quando la connessione supporta l'autorizzazione e l'acquisizione separate.
Esempio 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))
}Annullare un'autorizzazione
POST /merchants/orders/{order_token}/void
Rilascia un'autorizzazione idonea prima dell'acquisizione. Una richiesta sincrona riuscita restituisce HTTP 204 No Content; i flussi dei processori asincroni devono comunque essere tracciati fino al loro stato di pagamento finale.
Esempio 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))
}Rimborsare un pagamento
POST /v2/merchants/orders/{order_token}/refund
Crea un rimborso totale o parziale per un pagamento elaborato.
Esempio 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 di rete utente#
Queste operazioni supportano l'identificazione del cliente, gli indirizzi e gli strumenti di pagamento memorizzati in modo sicuro. Le applicazioni web e mobile utilizzano l'autorizzazione del cliente. I sistemi backend dei commercianti fidati utilizzano l'autorizzazione mostrata per ogni percorso nell'inventario sopra indicato.
Autenticazione
Registra un utente
POST /users/register
Crea un utente in grado di autenticare e riutilizzare in modo sicuro i metodi di pagamento archiviati.
Esempio 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))
}Richiedi un OTP
POST /users/request-code
Invia il codice monouso utilizzato dal flusso di autenticazione senza password.
Esempio 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))
}Accedi con una OTP
POST /users/login
Scambia un codice monouso valido per un token di autorizzazione utente.
Esempio 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))
}Autorizzazione esterna
POST /users/external-authorize
Autentica un utente tramite un flusso di identità gestito dal commerciante.
Esempio 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))
}Utenti
GET /users/me
Restituisce il profilo utente autenticato.
Esempio 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 utente in base all'ID per un contesto cliente autorizzato.
Esempio 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))
}Indirizzi
GET /users/{user_id}/addresses
Elenca gli indirizzi associati a un utente.
Esempio 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 un indirizzo per un utente.
Esempio 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}
Aggiorna un indirizzo esistente. L'inventario mostra l'autorizzazione al portatore e il contesto commerciante richiesti da questi percorsi.
Esempio 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))
}Carte
Conserva una carta
POST /v2/users/{user_id}/cards
Memorizza una carta tokenizzata per un uso successivo. I dati grezzi della carta non devono passare attraverso i server del commerciante a meno che il commerciante non disponga dell'ambito PCI richiesto.
Esempio 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))
}Elencare le carte memorizzate
GET /payments-cards/users/{user_id}/cards
Restituisce le carte memorizzate dell’utente autenticato. I metadati di verifica sono condizionali. Le carte non verificate omettono tutti i campi di verifica.
Esempio 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))
}Recuperare una carta memorizzata
GET /payments-cards/users/{user_id}/cards/{card_id}
Restituisce una carta memorizzata. Quando DEUNA ha verificato correttamente la carta, la risposta include i campi di verifica mostrati di seguito.
Esempio 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 | Quando viene restituito | Significato |
|---|---|---|
is_valid | Solo dopo una verifica riuscita | Sempre true quando è presente. L’assenza del campo indica che la carta non è stata verificata correttamente; non indica che un tentativo di verifica sia fallito. |
verified_by | Solo dopo una verifica riuscita | card_verifier identifica un’autorizzazione con importo zero. payment identifica la verifica tramite una transazione di pagamento. Può essere restituito un verificatore specifico del processore quando quest’ultimo convalida la carta durante la tokenizzazione. |
verified_at | Solo dopo una verifica riuscita | Data e ora ISO 8601 registrate quando DEUNA ha contrassegnato la carta come verificata. |
Un pagamento verifica una carta solo dopo che la transazione raggiunge processing, processed, authorizedo captured. Le transazioni non riuscite e in sospeso non verificano la carta. Consulta Tokenizzazione della carta per capire come la verifica è correlata al riutilizzo delle carte memorizzate.
Rimuovi un account portafoglio memorizzato
DELETE /users/payment-methods/{payment_method_id}/tokens/{payment_method}
Rimuove l'account di portafoglio memorizzato dell'utente autenticato e il relativo consenso riutilizzabile. Vedi Flussi di consenso.
Esempio 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))
}Ottieni informazioni sul BIN della carta
GET /cards/bin/{bin}
Restituisce la rete della carta, l'emittente e i metadati del tipo per un BIN a sei cifre.
Esempio 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 commerciante#
Metodi di pagamento
GET /merchants/stores/payments-methods
Restituisce i metodi di pagamento abilitati per un negozio. Passa il codice negozio nella sezione richiesta X-Store-Code header.
Esempio 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 dei collegamenti di pagamento#
POST /merchants/payment-links
Crea un collegamento di pagamento dal backend di un commerciante affidabile.
Esempio 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 collegamento di pagamento e il suo stato attuale.
Esempio 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}
Aggiorna un collegamento di pagamento esistente.
Esempio 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))
}voce completa dell’endpoint Guida all'integrazione dei link di pagamento per il flusso end-to-end.
API degli abbonamenti#
Piani
GET /subscriptions/plans
Elenca i piani di abbonamento disponibili per il commerciante autenticato.
Esempio 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 piano di abbonamento.
Esempio 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))
}Abbonamenti
Elenco abbonamenti
GET /subscriptions
Restituisce gli abbonamenti disponibili al commerciante autenticato.
Esempio 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))
}Crea un abbonamento
POST /subscriptions
Crea un abbonamento utilizzando un piano e un metodo di pagamento esistenti.
Esempio 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))
}Aggiorna un abbonamento
PATCH /subscriptions/{id}
Aggiorna gli attributi supportati di un abbonamento attivo.
Esempio 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))
}