2.1.12 Card operation request

Path:/openapi/card/operation

Method:POST

Content-Type:application/json

Response Content-Type:application/json

Description:

If there is request prior to this operation request, new request would be denied

Example Request:

{
  "card_id": "00003454323400000028888",
  "request_number": "48d2741747a449b2968a91e2523feb22",
  "type": 1,
  "sign_img": "base64",
  "address": {
    "country_code": "CHN",
    "state": "beijing",
    "city": "beijing",
    "zip_code": "100000",
    "address": "maizidianjie28hao",
    "mobile_code": "86",
    "mobile": "18301523750"
  }
}

Request Parameter:

Parameter name Type Required Description
card_id string true Card ID
request_number string true Request number,should be unique, non-repeat for other request;Maximum 64 characters;
type integer true Request type
sign_img string false Photo of signature;Encoded into base64 format. The size of this field should be less than 1 MB, supported image format:jpg,jpeg,png
address Object false Address information;Require field for card replacement
  country_code string true Country code;Maximum 5 characters; Same set as mobile no country code
  state string true State;Maximum 100 characters, only alphanumeric
  city string true City;Maximum 100 characters, only alphanumeric
  zip_code string true Postal Code;Maximum 20 characters
  address string true Mailing address,Card will sending to this address;Maximum 256 characters, only alphanumeric
  mobile_code string true Mobile no country code;Maximum 5 characters
  mobile string true Mobile no;Minimum 6 characters and Maximum 11 characters

API Response:

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

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 ""