post https://api.reepay.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_id
was created using the PayPal vault methodBILLING_AGREEMENT
- in case thetoken_id
is 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 |