This method is designed to edit client information associated with a payment card. It allows сhanging the client’s phone number, which is used to receive OTP codes for 3D Secure (3DS) authentication. Changing the phone number ensures the proper functioning of the 3DS security mechanism, which is used to protect online payments. After a successful update, the new phone number will be used to send OTP codes for transaction verification.
Request
Body Params application/json
request_id
string
required
Unique request ID in the partner system (UUID).
client_id
string
required
Identifier of the client in Freedom Processing.
product_id
integer
required
Identifier of the product within which the client is created.
client
object
required
Client data.
phone
integer
required
Client's phone number.
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.freedompay.kz/v5/card-api/client/update' \
--header'Content-Type: application/json' \
--data-raw''
Responses
🟢200Success
application/json
Body
status
string
required
Status of the request. Possible values:
ok: Request completed successfully.
error: Request completed with an error.
request_status
string
required
Execution status of the request. Refer to the documentation.
dt
string<date-time>
required
Date and time of the request (format: RFC 3339, YYYY-MM-DDThh:mm:ss+hh:mm).