Update Payment Customer

Updates the customer associated with a payment. This endpoint can be used to update the customer even when the payment is locked (has transactions), since the customer data is already captured in the PaymentState snapshots and updating the Payment's customer reference doesn't violate transaction immutability.

Path Params
string
required

The merchant ID

string
required

The string identifier for the payment with max of 40 character.

Body Params
string | null

Prahsys's unique identifier for the customer

string | null

The email address of the customer. Must be longer than 3 characters and conform to RFC 2822.

string | null

The customer's first name.

string | null

The customer's last name.

string | null

The customer's phone number in E.164 format.

string | null

The customer's date of birth. Must be in YYYY-MM-DD format.

Headers
string
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json