API Reference#
Braintree Checkout#
The Account Payment Braintree Module defines a route to checkout a Payment or a Braintree Customer:
GET/<database_name>/account_payment_braintree/checkout/<model>/<id>: Returns an HTML page using the Checkout report.
modelthe name of the model:account.paymentoraccount.payment.braintree.customer.idtheidof the record.
POST/<database_name>/account_payment_braintree/checkout/<model>/<id>: Retrieves the form withpayment_method_nonce(and optionallydevice_data) to set on the record.
Braintree Webhook#
The Account Payment Braintree Module defines a route to receive the Braintree’s webhooks:
POST/<database_name>/account_payment_braintree/webhook/<account>:
accountis the webhook identifier of the Account.