A payment method is an abstraction made to increase flexibility and usability across multiple processes and regions. A payment method is required for making a direct debit; this may represent a bank account access or a debit card.
- Merchant sends a POST request to the Activate Payment Method API with the required parameters. Make sure to provide a valid account ID (prefix “la-xxx”) in the properties. Account IDs may be retrieved from GET linked accounts API.
- Xendit will respond with a JSON with the specified properties, if successful. Else, an error message is returned. The payment method ID will be used for making payment transactions such as direct debit and recurring payments.