{
"code": "10000",
"msg": "Success",
"data": {
"holder_id": 100061,
"id_no": "7234559",
"id_type": 1,
"audit_status": "2"
},
"random_key":"abssdddd2wdw==",
"sign_type": "RSA",
"app_id": "2017051914172236111"
}
{
"code": "40002",
"msg": "Business Failed",
"sub_code": "invalid-signature",
"sub_msg": "invalid signature"
}
curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/holder/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"app_id": "2017051914172236111",
"partner_id":"000000000000001",
"sub_partner_id":"",
"timestamp": "2011-09-23 04:24:03",
"format": "JSON",
"version": "2.0",
"random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
"request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAed1",
"sign_type": "RSA",
"biz_data": {
"mobile": "8512345679",
"first_name": "fu",
"last_name": "hello",
"id_no": "7234559",
"id_type": 1,
"email": "123@162.com",
"birthday": "1990-11-08",
"gender":1,
"issuance_date":"2024-07-21",
"expires_on":"2024-07-24",
"nationality_code":"BR",
"address": {
"city_name": "bbbb",
"country_code": "BR",
"postal_code": "25115",
"state": "proident enim",
"line": "line11111111111111",
"line2": "line2 officia adipisicing"
}
}
}'