Skip to content

Add additional billing information to card vaulting #219

@quintonpryce

Description

@quintonpryce

When will there be support for billing information on the UpdateVaultSetupToken graphql POST request?

I have added encoding a "billingAddress" to UpdateVaultVariables.swift file with a postal code and country code which returned an error from https://www.sandbox.paypal.com/graphql?UpdateVaultSetupToken

{
  "query": "mutation UpdateVaultSetupToken($clientID: String!, $vaultSetupToken: String!, $paymentSource: PaymentSource) {\n    updateVaultSetupToken(\n        clientId: $clientID\n        vaultSetupToken: $vaultSetupToken\n        paymentSource: $paymentSource\n    ) {\n        id,\n        status,\n        links {\n            rel,\n            href\n        }\n    }\n}",
  "variables": {
    "paymentSource": {
      "card": {
        "securityCode": "802",
        "number": "4240320004218883",
        "expiry": "2026-09",
        "billingAddress": {
          "postalCode": "55555",
          "countryCode": "US"
        }
      },
      "vaultSetupToken": "1MB39316L3631624F",
      "clientID": "AYmwZtpV8XT-vjndqSOWIZRD_7Sxq9Am3n1mzX6A3HCk1LRDqok__2YyBx7-i2xBNrHh2gBTjwG1cVV8"
    }
  }
}

I can only assume this is a problem on the requester side and not the request side if all the docs hold to be true.

We like to do everything we can to mitigate fraud, and adding a billing address is one that I think will help.

Describe the solution you'd like.

Add SDK support for billing information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions