Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.

出力 API(Thales D1 から)

Thales D1 がシステム上で呼び出す API の OpenAPI 仕様。

D1-Ecom-DCS-OUT-oas3.yaml

Get Access Token

post
/oauth2/token

This request is used by Thales to retrieve an access token to be used for outgoing API requests. Endpoint URL used for retrieving access token is configurable.

ヘッダーパラメータ
authorizationstring必須

The authorization header includes a client secret in base64URL encoded format following this syntax: Basic "[clientId:client secret]" as per https://www.rfc-editor.org/rfc/rfc2617

Example: Basic aXNfdGJhbmswMToxMjM=
本文
grant_typeconst: client_credentials必須
scopestringオプション

Access request scope as optionally defined by the merchant gateway

レスポンス
200

Default allowed response

application/json
access_tokenstringオプション

The access_token that will be used to call the APIs.

Example: ey...HRT6LOON7w
expires_innumberオプション

Remaining time in seconds for the access_token to expire.

Example: 900
token_typestringオプション

Type of the access_token that will be used to call the APIs.

Example: Bearer
scopestringオプション

Scope of the access_token.

expires_atstringオプション

Access token expiration timestamp

Example: 2023-06-06T05:05:59.711Z
post
/oauth2/token

Notify token update

post
/merchant-gateways/{merchantGatewayId}/merchants/{merchantId}/tokens/{tokenId}/notify-update

Notify token update.

認可
OAuth2clientCredentials必須

OAUTH activation for outbound endpoints is optional and part of D1 Tenant configuration (i.e. Token URL, Credentials, Scope).A merchant gateway entity wishing to opt for OAUTH scheme needs to support an endpoint (Token URL) from which the access token can be retrieved.This endpoint shall support HTTP POST Client Credentials grant requests in x-www-form-urlencoded content type as specified here: https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.2

Token URL: Refresh URL:
パスパラメータ
merchantGatewayIdstring · 最小: 10 · 最大: 10必須

Merchant Gateway Identifier.

Example: MGW_000001Pattern: ^[A-Za-z0-9_-]{10}$
merchantIdstring · 最小: 11 · 最大: 11必須

Merchant Identifier (aka Token Requestor ID) generated by the scheme TSP for that merchant.

Example: 10610027312Pattern: ^[A-Za-z0-9_-]{11}$
tokenIdstring · 最小: 1 · 最大: 48必須

Token unique identifier

Example: 01fb32ff-5ed0-497f-8835-6af0916f29c0Pattern: ^[A-Za-z0-9_-]{1,48}$
ヘッダーパラメータ
x-correlation-idstring必須

Random identifier which can be used to correlate the different API calls done as part of a single use-case. This identifier will be the one primarily used for troubleshooting.

Warning: This identifier should not be derived from sensitive personal data, as its value will be logged in clear.

There is no strong guarantee of the uniqueness of this identifier, so please refrain from using it for other purpose than logging and troubleshooting.

Pattern: ^[A-Za-z0-9_-]{1,64}$
本文
updateTypestring · enum必須可能な値:
レスポンス
post
/merchant-gateways/{merchantGatewayId}/merchants/{merchantId}/tokens/{tokenId}/notify-update

コンテンツなし

最終更新

役に立ちましたか?