2.3.2 Mock 3ds Tx

Path:openapi/card/mock/3ds

Method:POST

Content-Type:application/json

Response Content-Type:application/json

Description:

This interface is only used for mock data in the test environment, and there is no such interface in the production environment! ! !

If you need to test 3ds transactions in the test environment, you can call this interface to generate a 3ds transaction data;

Then you will receive notify which notify_type is AUTH_3DS

2.2.4 Common push event

when you receive the notify, you can invoke this interface:

2.1.42 3ds transaction auth

2.1.43 3ds transaction auth status

Example Request:

{
  "card_id": "00003454323400000028888",
  "created_time": 1595497477,
  "expired_time": 1595497477,
  "txn_amount": "2.5"
}

Request Parameter:

Parameter Name Type Required Description
card_id string string Card id
txn_amount string true Transaction Amount
expired_time int true Expired time,Unix timestamp (in second); Must be greater than the current time
created_Time int true Transaction create time; Unix timestamp (in second)

API Response:

Parameter name Type Description
code string Error code
msg string Error message

Example Response:

{
  "code": "00000",
  "msg": "ok"
}
Copyright © HyperCard 2023 all right reserved,powered by GitbookUpdate Time: 2024-09-11 10:55:00

results matching ""

    No results matching ""