エンドポイントカタログ
DEUNAの注文、支払い、ユーザー、カード、およびサブスクリプションエンドポイントを指し示すドキュメント全体で使用される、カノニカルなルート。
このカタログは、ガイドがAPI操作を参照している場合に利用します。パスとHTTPメソッドは、古い統合ガイドが現在の有用な宛先にマッピングできるように、ここに保持されます。
完全なAPIゲートウェイのインベントリ#
このインベントリは、効果的なAPIゲートウェイ構成から生成され、より小さなレガシーのOpenAPIスナップショットではなく、使用されます。フィルターを使用して、どの操作を呼び出すべきか、どのサービスが所有しているか、サポートされている認証、およびゲートウェイが受け入れるまたは転送するヘッダーを特定します。
このカタログには、加盟店および顧客向け API、パートナールート、プロバイダーコールバック、公開ブラウザルートが含まれます。内部の Admin 操作と管理操作は除外されています。プロバイダーコールバックは統合の参考情報として掲載されており、加盟店の統合から呼び出してはいけません。
有効なAPIゲートウェイ構成の公開版から生成
商社バックエンド · サーバー間注文、支払い、運用ワークフローのために、信頼できる商社バックエンドを使用してください。278
/cards/bin/{bin}Binを取得します。
- ドメイン
- Cards and vault
- 所有サービス
- Card metadata
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/gift-cardsGift Cardsを作成します。
- ドメイン
- Cards and vault
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/couponsCouponsを作成します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/coupons/{coupon_code}Couponsを削除します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/custom-fieldsCustom Fieldsを更新します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/shipping-methodsShipping Methodsを作成します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/shipping-methods/{code}Shipping Methodsを更新します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/shipping-rateShipping Rateを作成します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/credentialsCredentialsをリストまたは取得します。
- ドメイン
- Connections
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputesDisputesをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputesDisputesを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}Disputesを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/draftDraftを更新します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidenceEvidenceをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidenceEvidenceを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidence/{evidence_id}Evidenceを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidence/{evidence_id}/archiveEvidenceのArchiveを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidence/{evidence_id}/versionsVersionsを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/completeVersionsのCompleteを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/evidence/{evidence_id}/versions/{version_id}/downloadVersionsのDownloadを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requestsInformation Requestsをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requestsInformation Requestsを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requests/{request_id}Information Requestsを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requests/{request_id}/dismissInformation RequestsのDismissを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requests/{request_id}/resolveInformation RequestsのResolveを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/information-requests/{request_id}/responsesResponsesを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/metadataMetadataを更新します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/requirementsRequirementsをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/reviewsReviewsを作成します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/reviews/{review_id}Reviewsを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/reviews/{review_id}/approveReviewsのApproveを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/reviews/{review_id}/snapshotSnapshotをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/submissionsSubmissionsをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/submissions/{submission_id}Submissionsを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/submitDisputesのSubmitを実行します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/{id}/updatesUpdatesをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/capabilitiesCapabilitiesをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/connectionsConnectionsをリストまたは取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/disputes/connections/{processor_account_id}Connectionsを取得します。
- ドメイン
- Disputes
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/avs/codesCodesをリストまたは取得します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/filters/anti-fraud-providersAnti Fraud Providersをリストまたは取得します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchant/anti-fraud-processorAnti Fraud Processorをリストまたは取得します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/fraud-settingsFraud Settingsを削除します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/fraud-settingsFraud Settingsをリストまたは取得します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/fraud-settingsFraud Settingsを更新します。
- ドメイン
- Fraud and risk
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/filters/acquirers/merchants/{merchant_id}Merchantsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Reports and reconciliation
- 対象
- 商社バックエンド · サーバー間
/filters/data_source/merchants/{merchant_id}Merchantsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Reports and reconciliation
- 対象
- 商社バックエンド · サーバー間
/fulfillments/{provider}/{merchant_id}Fulfillmentsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Post-transaction
- 対象
- 商社バックエンド · サーバー間
/merchant/{id}/avs/historyHistoryをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchant/{id}/profileProfileをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchant/{id}/profileProfileを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchant/profileProfileを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchant/transaction/{id}Transactionを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Fraud and risk
- 対象
- 商社バックエンド · サーバー間
/merchantsMerchantsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchantsMerchantsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants-allMerchants Allをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants-tokens/meMeをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}Merchantsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}Merchantsを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/applicationsApplicationsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/applicationsApplicationsを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/applicationsApplicationsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/applications/{application_id}Applicationsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/applications/{application_id}/storesStoresを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/configurationsConfigurationsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/configurationsConfigurationsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/configurations/{configuration_id}Configurationsを削除します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/configurations/{configuration_id}Configurationsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/decryptDecryptを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/external-endpointsExternal Endpointsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}External Endpointsを削除します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/external-endpoints/{external_endpoint_id}External Endpointsを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/filesFilesをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Reports and reconciliation
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/onboarding_step/{step}Onboarding Stepを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/public-keysPublic Keysを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/recipientsRecipientsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/recipientsRecipientsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/recipients/{recipient_id}Recipientsを削除します。
- ドメイン
- Merchant administration
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/recipients/{recipient_id}Recipientsを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/storesStoresをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/storesStoresを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/tokensTokensを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/applications/validateValidateをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/applications/validateValidateを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/applications/validateValidateを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/audit-logsAudit Logsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/audit-logs/exportsExportsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/audit-logs/exportsExportsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/audit-logs/exports/{export_id}/downloadExportsのDownloadを実行します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/audit-logs/filtersFiltersをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/billing/invoicesInvoicesをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/billing/invoices/{invoice_id}Invoicesを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/countries/{country}/{state}/citiesCitiesをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/countries/{country}/banksBanksをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/countries/{country}/citiesCitiesをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/countries/{country}/statesStatesをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/countries/listListをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/data/airline-informationAirline Informationをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/data/airline-informationAirline Informationを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/data/airline-information/{source_version}/rollbackAirline InformationのRollbackを実行します。
- ドメイン
- Merchant administration
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/domain/{record}/validateValidateを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/domain/validateValidateを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/loginMerchantsのLoginを実行します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/merchant-eventsMerchant Eventsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/merchant-events/{merchant_id}Merchant Eventsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/merchant-events/{merchant_id}Merchant Eventsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/msiMsiを削除します。
- ドメイン
- Merchant administration
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/msiMsiをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/msiMsiを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/msi/{merchant_id}Msiを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/request-codeMerchantsのRequest Codeを実行します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/resources/external-endpointsExternal Endpointsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/self-onboardingSelf Onboardingを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/validate-codeValidate Codeを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/tenantsTenantsをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/tenantsTenantsを作成します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/tenants/{tenant_id}Tenantsを取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/tenants/{tenant_id}Tenantsを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants-tokens/meMeをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/{merchant_id}/security/mfaMfaをリストまたは取得します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/{merchant_id}/security/mfaMfaを更新します。
- ドメイン
- Merchant administration
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/ordersOrdersをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}Ordersを取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/captureOrdersのCaptureを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/payment_optionsPayment Optionsをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/refundRefundを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/status/{status}Statusを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/voidOrdersのVoidを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/vouchersVouchersをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Vouchers
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/orders/{order_token}/vouchersVouchersを作成します。
- ドメイン
- Orders
- 所有サービス
- Vouchers
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/billing-addressBilling Addressを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/external-orders/{order_token}/scheduleScheduleを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/ordersOrdersをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/ordersOrdersを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}Ordersを取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}Ordersを更新します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/cancelOrdersのCancelを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/captureOrdersのCaptureを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/capture-asyncCapture Asyncを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/consentConsentをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/consentConsentを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/expireOrdersのExpireを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/payments-methodsPayments Methodsをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/promotionsPromotionsを作成します。
- ドメイン
- Orders
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/refundRefundを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/refund-asyncRefund Asyncを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/successOrdersのSuccessを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/transactions/nequi/verifyNequiのVerifyを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/transactions/verifyTransactionsのVerifyを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/voidOrdersのVoidを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/{order_token}/void-asyncOrdersのVoid Asyncを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/filters-optionsFilters Optionsをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/orders/id/{order_id}Idを取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/transactions/orders/{order_token}/installmentsInstallmentsをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/orders/statusStatusをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/{merchant_id}/orders/{order_token}/captureOrdersのCaptureを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/orders/{order_token}/captureOrdersのCaptureを実行します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/orders/{order_token}/refundRefundを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/orders/purchasePurchaseを作成します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/payments/links/templatesTemplatesをリストまたは取得します。
- ドメイン
- Payment links
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/payments/links/templatesTemplatesを作成します。
- ドメイン
- Payment links
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/payments/links/templates/{template_id}Templatesを取得します。
- ドメイン
- Payment links
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/payments/links/templates/{template_id}Templatesを更新します。
- ドメイン
- Payment links
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/payment-linksPayment Linksを作成します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/payment-links/{payment_link_id}Payment Linksを取得します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/payment-links/{payment_link_id}Payment Linksを更新します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/payment-links/{payment_link_id}/ordersOrdersをリストまたは取得します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/payment-links/allAllをリストまたは取得します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/payments/links/templates/{template_id}/ordersOrdersをリストまたは取得します。
- ドメイン
- Payment links
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/payment-links/{payment_link_id}Payment Linksを取得します。
- ドメイン
- Payment links
- 所有サービス
- Payment links
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/batch-transactionsBatch Transactionsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Batch transactions
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/batch-transactionsBatch Transactionsを作成します。
- ドメイン
- Payments
- 所有サービス
- Batch transactions
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/batch-transactions/{batch_id}Batch Transactionsを取得します。
- ドメイン
- Payments
- 所有サービス
- Batch transactions
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/installmentsInstallmentsを削除します。
- ドメイン
- Payments
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/installmentsInstallmentsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/installmentsInstallmentsを作成します。
- ドメイン
- Payments
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/transactionsTransactionsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/merchants/stores/payments-methodsPayments Methodsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/payments-middleware/manifestManifestをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/payments-middleware/payment-methodsPayment Methodsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/payments-middleware/paymentsPaymentsを作成します。
- ドメイン
- Payments
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/payments-middleware/payments/{payment_id}/cancellationsCancellationsを作成します。
- ドメイン
- Payments
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/payments-middleware/payments/{payment_id}/refundsRefundsを作成します。
- ドメイン
- Payments
- 所有サービス
- Merchant middleware
- 対象
- 商社バックエンド · サーバー間
/payments-vault/tokenizationTokenizationを作成します。
- ドメイン
- Payments
- 所有サービス
- Vault
- 対象
- 商社バックエンド · サーバー間
/payments-vault/tokenization/{uuid}/cvvCvvを作成します。
- ドメイン
- Payments
- 所有サービス
- Vault
- 対象
- 商社バックエンド · サーバー間
/post-transactions/{provider}Post Transactionsを作成します。
- ドメイン
- Payments
- 所有サービス
- Post-transaction
- 対象
- 商社バックエンド · サーバー間
/telcel-middleware/transactions/inquiryInquiryを作成します。
- ドメイン
- Payments
- 所有サービス
- Telcel middleware
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/{request_id_hash}/cancelTransactionsのCancelを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/captureTransactionsのCaptureを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/refundRefundを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/statusStatusを更新します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/status/nequiNequiを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/three-ds-flowThree Ds Flowをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/three-ds-flow/completeThree Ds FlowのCompleteを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/three-ds-flow/completeThree Ds FlowのCompleteを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/three-ds-flow/continueThree Ds FlowのContinueを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/transfer/{current_store_code}/{new_store_code}TransactionsのTransferを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/verifyTransactionsのVerifyを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/voidTransactionsのVoidを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/{transaction_id}/void-asyncTransactionsのVoid Asyncを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/internal-searchInternal Searchをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/payments-methodsPayments Methodsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/payments-methods/{method_type}/installmentsInstallmentsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/searchTransactionsのSearchを実行します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/update-processing-transactionsUpdate Processing Transactionsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/verify3dsVerify3dsをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/verify3dsVerify3dsを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/transactions/view_challengeView Challengeをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/manual-reviewManual Reviewを作成します。
- ドメイン
- Post-transaction
- 所有サービス
- Post-transaction
- 対象
- 商社バックエンド · サーバー間
/post-transaction-manual-process/{action}Post Transaction Manual Processを作成します。
- ドメイン
- Post-transaction
- 所有サービス
- Post-transaction
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/files/{file_id}/presigned-urlPresigned Urlをリストまたは取得します。
- ドメイン
- Reports
- 所有サービス
- Reports and reconciliation
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/subscriptions/{id}/ordersOrdersをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Orders and checkout
- 対象
- 商社バックエンド · サーバー間
/merchants/installments/plans/{installment_plan_option_id}Plansを取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Installments
- 対象
- 商社バックエンド · サーバー間
/subscriptionsSubscriptionsをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptionsSubscriptionsを作成します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}Subscriptionsを削除します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}Subscriptionsを取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}Subscriptionsを更新します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}/cancelSubscriptionsのCancelを実行します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}/cardsCardsを更新します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}/historyHistoryをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}/pauseSubscriptionsのPauseを実行します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/{id}/resumeSubscriptionsのResumeを実行します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plansPlansをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plansPlansを作成します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plans/{id}Plansを削除します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plans/{id}Plansを取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plans/{id}Plansを更新します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/plans/statusesStatusesをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/subscriptions/retriesRetriesをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscription retries
- 対象
- 商社バックエンド · サーバー間
/subscriptions/retriesRetriesを作成します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscription retries
- 対象
- 商社バックエンド · サーバー間
/subscriptions/retries/{id}Retriesを削除します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscription retries
- 対象
- 商社バックエンド · サーバー間
/subscriptions/retries/{id}Retriesを取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscription retries
- 対象
- 商社バックエンド · サーバー間
/subscriptions/retries/{id}Retriesを更新します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscription retries
- 対象
- 商社バックエンド · サーバー間
/subscriptions/statusesStatusesをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- 商社バックエンド · サーバー間
/trace/logsLogsをリストまたは取得します。
- ドメイン
- Trace and audit logs
- 所有サービス
- Trace and audit logs
- 対象
- 商社バックエンド · サーバー間
/trace/logs/visibility/groupedGroupedをリストまたは取得します。
- ドメイン
- Trace and audit logs
- 所有サービス
- Trace and audit logs
- 対象
- 商社バックエンド · サーバー間
/v2/trace/logsLogsをリストまたは取得します。
- ドメイン
- Trace and audit logs
- 所有サービス
- Trace and audit logs
- 対象
- 商社バックエンド · サーバー間
/hermes/merchants/users/notificationsNotificationsを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
/merchant-usersMerchant Usersをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/{merchant_id}/policiesPoliciesをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/identity-tokenIdentity Tokenを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/usersUsersを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/{user_id}Usersを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/{user_id}Usersを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/{user_id}Usersを更新します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/{user_id}/authorizeUsersのAuthorizeを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/{user_id}/generate-change-password-tokenGenerate Change Password Tokenを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/users/change-passwordChange Passwordを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/merchants/validate-oauthValidate Oauthを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/users/authorizeUsersのAuthorizeを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 商社バックエンド · サーバー間
/users/external-authorizeExternal Authorizeを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 商社バックエンド · サーバー間
/v1/users/{user_id}/transactions/{transaction_id}Transactionsを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Payments
- 対象
- 商社バックエンド · サーバー間
/v2/auth/identity/change-passwordChange Passwordを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/identity/userUserをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/log-streamLog Streamを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/loginAuthのLoginを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/mfa-syncMfa Syncを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/session/bootstrapSessionのBootstrapを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/auth/user-org-syncUser Org Syncを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/generate-custom-tokenGenerate Custom Tokenをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/usersUsersを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}Usersを更新します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/banUsersのBanを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/inviteUsersのInviteを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/mfa/resetMfaのResetを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/security-blockSecurity Blockを削除します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/security-blockSecurity Blockをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/{user_id}/security-blockSecurity Blockを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/mfa/disableMfaのDisableを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/v2/merchants/users/passwordPasswordを更新します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 商社バックエンド · サーバー間
/vaults/activeActiveをリストまたは取得します。
- ドメイン
- Vault
- 所有サービス
- Vault
- 対象
- 商社バックエンド · サーバー間
/vaults/activeActiveを更新します。
- ドメイン
- Vault
- 所有サービス
- Vault
- 対象
- 商社バックエンド · サーバー間
/hermes/events/create-campaignCreate Campaignを作成します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
/hermes/template/{merchantID}Templateを作成します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
/hermes/template/{templateID}Templateを削除します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
/hermes/template/defaultDefaultを作成します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
/notifications/{userId}Notificationsを更新します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- 商社バックエンド · サーバー間
顧客アプリケーション · ユーザーからサーバーユーザーのアイデンティティとデバイスコンテキストを表示した、顧客向けのウェブまたはモバイルフローを使用してください。62
/payments-cards/users/{user_id}/cardsCardsをリストまたは取得します。
- ドメイン
- Cards and vault
- 所有サービス
- Payment cards
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/payments-cards/users/{user_id}/cardsCardsを作成します。
- ドメイン
- Cards and vault
- 所有サービス
- Payment cards
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/payments-cards/users/{user_id}/cards/{card_id}Cardsを削除します。
- ドメイン
- Cards and vault
- 所有サービス
- Payment cards
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/payments-cards/users/{user_id}/cards/{card_id}Cardsを取得します。
- ドメイン
- Cards and vault
- 所有サービス
- Payment cards
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cardsCardsをリストまたは取得します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cardsCardsを作成します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cards/{card_id}Cardsを削除します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cards/{card_id}Cardsを取得します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cards/{card_id}/refresh-cvvCardsのRefresh Cvvを実行します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cards/{card_id}/set-as-defaultCardsのSet As Defaultを実行します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/cards/{card_id}/tokensTokensを作成します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/v2/users/{user_id}/cardsCardsを作成します。
- ドメイン
- Cards and vault
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/{merchant_id}/checkoutCheckoutをリストまたは取得します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/checkout/{merchant_id}/configurationConfigurationを更新します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/checkout/{merchant_id}/configurationConfigurationを作成します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/checkout/readyReadyをリストまたは取得します。
- ドメイン
- Checkout
- 所有サービス
- Orders and checkout
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/checkout/statusStatusをリストまたは取得します。
- ドメイン
- Checkout
- 所有サービス
- Users and identity
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/shortener/{hash_id}Shortenerを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/transactions/{transaction_id}/consent/{consent_id}/redirectRedirectをリストまたは取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/transactions/next-action/{next_action_id}Next Actionを取得します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/usersUsersをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}Usersを削除します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}Usersを更新します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/accepted-policiesAccepted Policiesをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/accepted-policiesAccepted Policiesを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/accepted-policies/preferencesPreferencesを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/addressesAddressesをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/addressesAddressesを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/addresses/{address_id}Addressesを削除します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/addresses/{address_id}Addressesを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/addresses/{address_id}Addressesを更新します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/change-passwordChange Passwordを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/{user_id}/transactionsTransactionsをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/addresses/{address_id}Addressesを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/auth/verifyAuthのVerifyを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/bulkBulkを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/change-passwordChange Passwordを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/forgot-passwordForgot Passwordを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/generateUsersのGenerateを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/loginUsersのLoginを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/login/device-fingerprintDevice Fingerprintを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/logoutUsersのLogoutを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/meMeをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/payment-methods/{payment_method_id}/tokens/{payment_method}Tokensを削除します。
- ドメイン
- Users and identity
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/payment-methods/tokensTokensを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Payments
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/probeUsersのProbeを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/probe/{id}UsersのProbeを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/registerUsersのRegisterを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/request-codeUsersのRequest Codeを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/sessionsSessionsをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/sessions/{session_id}/deviceDeviceをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/sign-messageSign Messageを作成します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/signupUsersのSignupを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/web/forgot-passwordForgot Passwordをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/web/loginWebのLoginを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/web/password-loginPassword Loginをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/web/passwordlessPasswordlessをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/users/web/signupWebのSignupを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/v2/usersUsersをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/v2/users/{user_id}Usersを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Users and identity
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/v2/users/{user_id}/addressesAddressesをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
/v2/users/loginUsersのLoginを実行します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 顧客アプリケーション · ユーザーからサーバー
ネットワークまたはパートナーバックエンド承認されたネットワーク、プラットフォーム、または統合パートナーバックエンド用。15
/networks/{network_id}/processorsProcessorsをリストまたは取得します。
- ドメイン
- Connections
- 所有サービス
- Payments
- 対象
- ネットワークまたはパートナーバックエンド
/networks/ordersOrdersをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- ネットワークまたはパートナーバックエンド
/networks/orders/filters-optionsFilters Optionsをリストまたは取得します。
- ドメイン
- Orders
- 所有サービス
- Orders and checkout
- 対象
- ネットワークまたはパートナーバックエンド
/networks/fieldsFieldsをリストまたは取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/{id}/downloadReportsのDownloadを実行します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/adhocAdhocを作成します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/adhoc/{report_id}Adhocを取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/adhoc/{report_id}/logsLogsをリストまたは取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/adhoc/filesFilesをリストまたは取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedulesSchedulesをリストまたは取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedulesSchedulesを作成します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedules/{id}Schedulesを削除します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedules/{id}Schedulesを取得します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedules/{id}Schedulesを更新します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
/networks/reports/schedules/{id}Schedulesを更新します。
- ドメイン
- Reports
- 所有サービス
- Reports
- 対象
- ネットワークまたはパートナーバックエンド
プロバイダからのコールバック · プロバイダからDEUNA支払い、詐欺、またはプラットフォームプロバイダからのコールバック受信。商社はこれらのルートを呼び出しません。27
/transactions/webhooks/processors/{processor_name}Processorsを作成します。
- ドメイン
- Connections
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/processors/{processor_name}/refundsRefundsを作成します。
- ドメイン
- Connections
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/processors/{processor_name}/uninstallProcessorsのUninstallを実行します。
- ドメイン
- Connections
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/merchants/{merchant_id}/chargebacks/kushkiKushkiを作成します。
- ドメイン
- Disputes
- 所有サービス
- Chargebacks
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/merchants/{merchant_id}/chargebacks/stripeStripeを作成します。
- ドメイン
- Disputes
- 所有サービス
- Chargebacks
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/addiAddiを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/aplazoAplazoを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/conektaConektaを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/dlocalDlocalを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/kueskiKueskiを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/mercadopagoMercadopagoを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/openpayOpenpayを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/opm-speiOpm Speiを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/oxxoOxxoを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/paypalplatform/{transaction_id}Paypalplatformを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/payuPayuを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/stpStpを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/stripe_oxxoStripe Oxxoを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/webpayWebpayを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/wompiWompiを作成します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/transactions/webhooks/zipZipを更新します。
- ドメイン
- Payments
- 所有サービス
- Payments
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/subscriptions/webhook-configurationsWebhook Configurationsを削除します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/subscriptions/webhook-configurationsWebhook Configurationsをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/subscriptions/webhook-configurationsWebhook Configurationsを更新します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/subscriptions/webhook-configurationsWebhook Configurationsを作成します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/subscriptions/webhook-configurations/event-typesEvent Typesをリストまたは取得します。
- ドメイン
- Subscriptions
- 所有サービス
- Subscriptions
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
/hermes/waf/report-data/bts-deliveryBts Deliveryを作成します。
- ドメイン
- Webhooks and notifications
- 所有サービス
- Notifications
- 対象
- プロバイダからのコールバック · プロバイダからDEUNA
公開ブラウザまたはインフラ認証されていないブラウザのリダイレクト、公開メタデータ、アセット、またはヘルスサーフェス。3
/users/.well-known/jwks.jsonJwks.Jsonをリストまたは取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 公開ブラウザまたはインフラ
/users/static/css/{file}Cssを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 公開ブラウザまたはインフラ
/users/static/js/{file}Jsを取得します。
- ドメイン
- Users and identity
- 所有サービス
- Merchant management
- 対象
- 公開ブラウザまたはインフラ
コア統合エンドポイント#
以下の操作は、統合ガイドで使用される安定したアンカーを保持し、最も一般的な商社ワークフローのための追加コンテキストを提供します。
注文API#
注文を作成する
POST /merchants/orders
注文を作成し、DEUNAのウィジェットおよび支払い操作で使用される order_token を返します。
必要なオブジェクトは注文の種類によって異なります。チェックアウトおよび定期購入の注文には items 配列が必要ですが、航空会社の注文には航空会社の情報が必要です。基本契約では、個々のアイテムのプロパティを普遍的に必要なものとしてマークしません。を参照してください。 アイテムフィールドリファレンスと垂直フィールドガイド.
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))
}注文を取得
GET /merchants/orders/{order_token}
注文トークンに対応する、現在の注文、支払い、および処理状態を取得します。
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))
}注文の支払い方法を取得
GET /merchants/orders/{order_token}/payments-methods
特定の注文と商社構成に関連する支払い方法を返します。
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))
}ウォレットの同意を作成
POST /merchants/orders/{order_token}/consent
サポートされているウォレット接続に必要な顧客の認証を作成します。応答には、プロバイダ redirect_urlが含まれる場合があります。詳細は 同意フローを参照してください。.
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))
}ウォレットの同意を取得
GET /merchants/orders/{order_token}/consent
最新の同意状態を返します。プロバイダによるポーリングをサポートする接続の場合、DEUNAは有効な未処理の同意を返信する前に更新します。
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#
支払いを作成
POST /v2/merchants/orders/purchase
既存の注文トークンまたはリクエスト内の注文に対して支払い処理を行います。詳細な 支払いリクエストガイドを参照してください。.
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))
}支払いをキャプチャ
POST /v2/merchants/orders/{order_token}/capture
承認された支払いをすべてまたは一部キャプチャします。接続が分離された認証とキャプチャをサポートする場合にのみ、商社バックエンドから呼び出してください。
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))
}承認を無効化
POST /merchants/orders/{order_token}/void
承認を有効にします。成功した同期リクエストは、HTTP 204 No Content; 非同期のプロセッサフローは、最終的な支払いステータスに追跡する必要があります。
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))
}支払いを返金
POST /v2/merchants/orders/{order_token}/refund
処理された支払いに対する完全または部分の返金を生成します。
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#
これらの操作は、顧客の身元、住所、および安全に保存された支払い手段をサポートします。ブラウザおよびモバイルアプリケーションは、顧客による認証を使用します。信頼できる加盟店のバックエンドは、上記のルートごとに示されている認証を使用します。
認証
ユーザーを登録
POST /users/register
認証され、保存された支払い方法を安全に使用できるユーザーを作成します。
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))
}OTPをリクエスト
POST /users/request-code
パスワードレス認証フローで使用される、一時コードを送信します。
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))
}OTPでログイン
POST /users/login
有効な一時コードを、ユーザーの認証トークンに交換します。
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))
}外部認証
POST /users/external-authorize
商社が管理する認証フローを通じてユーザーを認証します。
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))
}ユーザー
GET /users/me
認証されたユーザープロファイルを返します。
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}
承認された顧客コンテキストで、IDでユーザーを取得します。
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))
}住所
GET /users/{user_id}/addresses
ユーザーに関連する住所をリストします。
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
ユーザーの住所を作成
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}
既存の住所を更新します。インベントリには、これらのルートに必要なBearer認証と商社コンテキストが表示されます。
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))
}カード
カードを保存
POST /v2/users/{user_id}/cards
カードのトークン化されたものを保存します。商人は、商人が必要なPCIスコープを持っている場合にのみ、生のカードデータをサーバーを経由させないでください。
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))
}保存済みカードを一覧表示する
GET /payments-cards/users/{user_id}/cards
認証済みユーザーの保存済みカードを返します。検証メタデータは条件付きです。未検証のカードでは、すべての検証フィールドが省略されます。
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))
}保存済みカードを取得する
GET /payments-cards/users/{user_id}/cards/{card_id}
保存済みカードを1件返します。DEUNAがカードを正常に検証済みの場合、レスポンスには以下の検証フィールドが含まれます。
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"
}
}| フィールド | 返される条件 | 意味 |
|---|---|---|
is_valid | 検証が成功した後のみ | 常に true (存在する場合)。フィールドがない場合、カードがまだ正常に検証されていないことを示します。検証の試行が失敗したことを示すものではありません。 |
verified_by | 検証が成功した後のみ | card_verifier は、金額ゼロのオーソリを示します。 payment は、決済トランザクションによる検証を示します。プロセッサーがトークン化中にカードを検証した場合、プロセッサー固有の検証識別子が返されることがあります。 |
verified_at | 検証が成功した後のみ | DEUNAがカードを検証済みとして記録した時点のISO 8601タイムスタンプです。 |
決済によってカードが検証されるのは、そのトランザクションが次の状態に到達した後のみです: processing, processed, authorized、または captured。失敗または保留中のトランザクションではカードは検証されません。次を参照してください: カードトークン化 。検証と保存済みカードの再利用の関係について説明しています。
保存されたウォレットアカウントを削除
DELETE /users/payment-methods/{payment_method_id}/tokens/{payment_method}
認証されたユーザーの保存されたウォレットアカウントとその再利用可能な同意を削除します。詳細は 同意フローを参照してください。.
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))
}カードのBIN情報を取得
GET /cards/bin/{bin}
6桁のBINに対応する、カードネットワーク、発行者、およびカードの種類に関するメタデータを返します。
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#
支払い方法
GET /merchants/stores/payments-methods
ストアで有効な支払い方法を返します。ストアコードを必要な X-Store-Code header.
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#
POST /merchants/payment-links
信頼できる商社側のバックエンドから支払いリンクを作成します。
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}
支払いリンクとその現在の状態を取得します。
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}
既存の支払いリンクを更新します。
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))
}詳細は、 支払いリンクの統合ガイド を参照してください。
サブスクリプション API#
プラン
GET /subscriptions/plans
認証された商社で利用可能なサブスクリプションプランをリストします。
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
サブスクリプションプランの作成
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))
}サブスクリプション
サブスクリプションのリスト表示
GET /subscriptions
認証された加盟店に利用可能なサブスクリプションを返します。
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))
}サブスクリプションの作成
POST /subscriptions
既存のプランと支払い方法を使用してサブスクリプションを作成します。
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))
}サブスクリプションの更新
PATCH /subscriptions/{id}
アクティブなサブスクリプションのサポートされている属性を更新します。
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))
}