1
0
Files
PayPal-PHP-Server-SDK/doc/models/venmo-vault-response.md
2025-11-06 20:07:39 +00:00

1.9 KiB
Raw Permalink Blame History

Venmo Vault Response

The details about a saved venmo payment source.

Structure

VenmoVaultResponse

Fields

Name Type Tags Description Getter Setter
id ?string Optional The PayPal-generated ID for the saved payment source.

Constraints: Minimum Length: 1, Maximum Length: 255
getId(): ?string setId(?string id): void
status ?string(VenmoVaultResponseStatus) Optional The vault status.

Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Z_]+$
getStatus(): ?string setStatus(?string status): void
links ?(LinkDescription[]) Optional An array of request-related HATEOAS links.

Constraints: Minimum Items: 1, Maximum Items: 10
getLinks(): ?array setLinks(?array links): void
customer ?CustomerInformation Optional This object represents a merchants customer, allowing them to store contact details, and track all payments associated with the same customer. getCustomer(): ?CustomerInformation setCustomer(?CustomerInformation customer): void

Example (as JSON)

{
  "id": "id2",
  "status": "CREATED",
  "links": [
    {
      "href": "href6",
      "rel": "rel0",
      "method": "HEAD"
    },
    {
      "href": "href6",
      "rel": "rel0",
      "method": "HEAD"
    },
    {
      "href": "href6",
      "rel": "rel0",
      "method": "HEAD"
    }
  ],
  "customer": {
    "id": "id0",
    "email_address": "email_address2",
    "phone": {
      "phone_type": "OTHER",
      "phone_number": {
        "national_number": "national_number6"
      }
    },
    "name": {
      "given_name": "given_name2",
      "surname": "surname8"
    }
  }
}