post https://api.frisbii.com/v1/payment_method/import_paypal
Use this operation to import an existing PayPal Mandate to a PayPal payment method.
Provide the following in the import request: token_id, token_type.
The token_type supports the following values:
VAULT- in case thetoken_idwas created using the PayPal vault methodBILLING_AGREEMENT- in case thetoken_idis the ID of an existing billing agreement
If successful, a reference to the new payment method is returned.
Errors
| Error code | HTTP code | Description |
|---|---|---|
56 | 400 | Multiple agreements |
55 | 404 | Agreement not found |
