get_cc_uuid_m Sample Call and Response
This example shows a client requesting the universally unique identifier (UUID) that Aria generates for a credit card number, based on the get_cc_uuid_m method defined in plsql_m_r73.yml. A merchant can use this UUID to recognize the same card across accounts without storing or transmitting the raw card number.
The example includes every field the method accepts: client_no, auth_key, and cc_number. It does not cover a failure case, such as a malformed card number.
Sample call
{
"rest_call": "get_cc_uuid_m",
"output_format": "json",
"client_no": 4009,
"auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
"cc_number": "4111111111111111"
}
The cc_number field is required and carries masked logging, so Aria does not write the raw digits to call logs even though the caller supplies the full card number here. The rest_call and output_format fields are added by the REST layer.
Sample response
{
"error_code": 0,
"error_msg": "",
"uuid": "7c2e9f4a-5b1d-4e3c-9a8f-1d6b3c2e4f5a"
}
An error_code value of zero together with an empty error_msg indicates that Aria generated and returned the UUID successfully. The uuid field, like cc_number in the request, carries masked logging. This example omits the error_details field.