1
0
Files
PayPal-PHP-Server-SDK/doc/models/vault-customer.md
Patrick Powers 6da8b9b5b8 1.1.0 Release (#44)
* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
Co-authored-by: Patrick Powers <patickpowers@hey.com>
2025-05-27 13:31:17 -05:00

794 B
Raw Permalink Blame History

Vault Customer

This object represents a merchants customer, allowing them to store contact details, and track all payments associated with the same customer.

Structure

VaultCustomer

Fields

Name Type Tags Description Getter Setter
id ?string Optional The unique ID for a customer generated by PayPal.

Constraints: Minimum Length: 1, Maximum Length: 22, Pattern: ^[0-9a-zA-Z_-]+$
getId(): ?string setId(?string id): void
name ?Name Optional The name of the party. getName(): ?Name setName(?Name name): void

Example (as JSON)

{
  "id": "id2",
  "name": {
    "given_name": "given_name2",
    "surname": "surname8"
  }
}