Payment Method
Payment Method: Find
- Java
PaymentMethod paymentMethod = gateway.paymentMethod().find("token");
Arguments
token
required, stringThe alphanumeric value that references a specific payment method stored in your Vault.
Examples
Single PayPal account
If you want to look up a single PayPal account using its token, use the find method.
- Java
PayPalAccount paypalAccount = gateway.paypalAccount().find("the_token");
NotFoundException
.