This request associates an existing bank card with a customer.
Click here to learn more about this request
Once a customer is created, a Payment Profile can be associated with the customer via this request. Beforehand, a token must be generated to represent the bank card. Here's a breakdown of the entire process:
-
POST
create customer - Create bank card
- Add Bank Card to Customer ( you are currently here ✓ )
Note the following when using this request:
As mentioned above, this request is part of a process. You will have had to send a few requests prior to sending this one.
Multiple bank cards can be associated with an individual customer.
For an example of how customers work within the Secure Payments UI, take a look at our Secure Payments – Customers article.
Results
Returns true
after a successful bank card addition. An error results in a context
object (the user and customer IDs) and a message
indicating the type of error (e.g. invalid checking account token or customer ID).