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": "CN",
"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;Refer to the appendix【3.2 Mobile Phone Area Code and Country Code】-【ISO 3166 alpha2】for the range of values; |
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; By default, the regular expression must be met:323_address_regex's Default regex . If card_type_id is in the range [71000003,71000002], the regular expression must be met: 323_address_regex's 71000003,71000002 regex |
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"
}