Get Full Card Number
Header Parameters
Credential string required
Please follow the OpenAPI authentication section
Example: d900da8b-6e16-4a85-8a66-05d29ac53f24/20240501120123/Wonder-RSA-SHA256
Signature string required
Please follow the OpenAPI authentication section
Example: lM42cgyuLS98Dieydc8K2OD3KwYkOXibpV9pFvr/R0i/830M/FPKUKbav2UBBN3M3EdPk/PpvKQlvBNT+NbEg20CKuiDTZWDc3r7KiA1pdZsui/57XCVhC2s01W8jEM+G5lS362+p8+E0K6UKQDrJMyVpbDT31XSkSJIxae+uDi2nJr4DnIkemeU2LlNDRPPGe9NeX7z3B3N3LwIiQgKMyauPqAjro0UrZykQM9pv4UySRSU2cT8EcjQmyKxbzyuR2A47PyeodJvotlIthdfCHIxG52D06tpRJlRVbUdvxSg14bFiPbr3FwCvruZlbR15gOanJCqE4wp4fC8qEXXsg==
Content-type string required
Example: application/json
x-request-id string
Example: d900da8b-6e16-4a85-8a66-05d29ac53f24
x-i18n-lang string
from zh-HK, zh-CN, or en
application/json
Request Body
referenceID string required
jweBlock string required
使用 secretKey加密 {"referenceID": "xxxx"}
Responses
- 200
Response Headers
application/json
Schema
Example (from schema)
Schema
status string required
jweBlock string required
使用 secretKey解密 得到完整卡号
{
"status": "string",
"jweBlock": "string"
}
POST /svc/card_issuer/api/v1/pci_card_with_session
Request
Request
curl / cURL
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
python / requests
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
go / native
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
nodejs / axios
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
ruby / Net::HTTP
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
csharp / RestSharp
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
php / cURL
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
java / OkHttp
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'
powershell / RestMethod
curl -L -X POST 'https://developer.wonder.today/svc/card_issuer/api/v1/pci_card_with_session' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"referenceID": "string",
"jweBlock": "string"
}'