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

Operations

Different operations that can be done on a card.

Resume

post
/issuers/{issuerId}/cards/{cardId}/operations:resume

This request is used by the issuer backend to request the reactivation of a card that has been suspended.

This operation is only applicable to the card, and needs to be consistent with the other states. For instance, it's useless/forbidden to resume a card from a deactivated end user.

For registered cards that are managed directly by the issuer, the issuer has the responsability to call the processor first then D1 to make sure the states are always synched.

Note: It cannot be used to activate a physical card for the very first time. For that, please refer to activatePhysicalCard

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
本文
reasonstringオプション

The reason why the action is performed.

This a free text field in case the Issuer wants to send details, that will be returned in the operations list.

Example: customer was contacted on June 28Pattern: ^[a-zA-Z0-9 ]{1,64}$
reasonCodestring · enumオプション

The reason why the action has been performed. If not provided, default reason code is ISSUER_DECISION.

可能な値:
レスポンス
post
/issuers/{issuerId}/cards/{cardId}/operations:resume

Suspend

post
/issuers/{issuerId}/cards/{cardId}/operations:suspend

This request is used by the issuer backend to request the deactivation of a card that has been lost for instance.

For registered cards that are managed directly by the issuer, the issuer has the responsability to call the processor first then D1 to make sure the states are always synched.

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
本文
reasonstringオプション

The reason why the action is performed.

This a free text field in case the Issuer wants to send details, that will be returned in the operations list.

Example: customer was contacted on June 28Pattern: ^[a-zA-Z0-9 ]{1,64}$
reasonCodestring · enumオプション

The reason why the action has been performed. If not provided, default reason code is ISSUER_DECISION.

可能な値:
レスポンス
post
/issuers/{issuerId}/cards/{cardId}/operations:suspend

Delete

post
/issuers/{issuerId}/cards/{cardId}/operations:delete

This request is used by the issuer backend to request the deletion of a card.

Note: The deletion of the card cannot be reversed. In the case of lost cards, consider using the Suspend operation first.

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
本文
reasonstringオプション

The reason why the action is performed.

This a free text field in case the Issuer wants to send details, that will be returned in the operations list.

Example: customer was contacted on June 28Pattern: ^[a-zA-Z0-9 ]{1,64}$
reasonCodestring · enumオプション

The reason why the action has been performed. If not provided, default reason code is ISSUER_DECISION.

可能な値:
レスポンス
post
/issuers/{issuerId}/cards/{cardId}/operations:delete

Renew

post
/issuers/{issuerId}/cards/{cardId}/operations:renew

This request is used by the issuer backend to renew/replace an existing card after card expiration or card loss.

The 'newCardId' is used by D1 to fetch the new PAN and/or new expiry date to be updated from the CMS if those information are not provided in encryptedData parameter.

Limitation: Card product update is currently not supported.

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
本文
newCardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
newCardProductIdstring · 最小: 1 · 最大: 48オプション

Reserved for future use; card product update is currently not supported.

Pattern: [A-Za-z0-9_-]{1,48}
newCardStatestring · enum必須

New state of the card after renew

可能な値:
encryptedDatastring · 最大: 8192オプション

The encryptedData is the encrypted json (cf http://www.json.org/ ) representation of the new card information.
This field is mandatory for AMEX cards and optional information for all the other schemes, if not provided Thales will call get card credentials API to retrieve the data.
This value is encrypted using the JWE encryption (please refer to the Encrypt sensitive data for more details)

Content

Once deciphered, the plaintext contains a json structure with:

JSON field parameter namedescriptionMOCFormat
panThe funding pan value.Mstring - from 10 to 19 digits
expThe expiry date of the card.Mstring - 4 digits, following the format MMYY
psnPAN Sequence number.Ostring - 2 digits (only applicable to AMEX scheme)
auxiliaryPanThe auxiliary funding pan value. It shall be provided when cobadge is supported and if the card has an auxiliary pan.Cstring - up to 19 digits
auxiliaryExpThe auxiliary expiry date of the card. It shall be provided when cobadge is supported and if the card has an auxiliary pan.Cstring - 4 digits, following the format MMYY
Example: encryptedData with card pan and card expPattern: ^(?:[\x20-\x2D\x2F-\x7F]*\.){4}(?:[\x20-\x2D\x2F-\x7F]*)$
reasonstringオプション

The reason why the action is performed.

This a free text field in case the Issuer wants to send details, that will be returned in the operations list.

Example: customer was contacted on June 28Pattern: ^[a-zA-Z0-9 ]{1,64}$
reasonCodestring · enumオプション

The reason why the action has been performed. If not provided, default reason code is ISSUER_DECISION.

可能な値:
レスポンス
post
/issuers/{issuerId}/cards/{cardId}/operations:renew

Get all operations

get
/issuers/{issuerId}/cards/{cardId}/operations

This request is used by the issuer backend to retrieve all operations related to a card. The API specifies the starting point (offset) and the number of operations (limit) to be retrieved. Offset 0 (the default) corresponds to the most recent operation. For example a limit of 5 and an offset of 2 would return the five most recent operations before the most recent two”.

If no operations are available for the given cardId, an empty list is returned.

Operations that are older than 3 months are removed.

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
クエリパラメータ
offsetintegerオプション

Index from which the query starts returning operations – Offset 0 (the default) corresponds to the most recent operation.

limitinteger · 最小: 1 · 最大: 50オプション

Number of operations to be returned

Default: 10
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
レスポンス
get
/issuers/{issuerId}/cards/{cardId}/operations

Get operation

get
/issuers/{issuerId}/cards/{cardId}/operations/{operationId}

This request is used by the issuer backend to retrieve the information related to an operation on a card.

Operations older than 3 months are removed.

認可
Authorizationstring必須

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

パスパラメータ
issuerIdstring · 最小: 10 · 最大: 10必須

The id of the issuer

cardIdstring · 最小: 1 · 最大: 48必須

Unique identifier of the card.

Pattern: [A-Za-z0-9_-]{1,48}
operationIdstring · 最小: 1 · 最大: 64必須

Unique identifier of the operation

Pattern: [A-Za-z0-9_-]{1,64}
クエリパラメータ
digitalCardInfobooleanオプション

Flag indicating whether digital card details (including the device data used to digitize and the requestor data) should be provided in the response. Only applicable to DIGITIZE Operations

Default: false
ヘッダーパラメータ
x-correlation-idstring · 最小: 1 · 最大: 64オプション

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 purposes other than logging and troubleshooting.

Pattern: [a-zA-Z0-9_\-\. ]{1,64}
レスポンス
get
/issuers/{issuerId}/cards/{cardId}/operations/{operationId}

最終更新

役に立ちましたか?