Provision FreshBooks Payments
POST https://api.freshbooks.com/payments/account/{{accountId}}/gateway/fbpay
This endpoint is used to provision the ability to use FreshBooks Payments on your invoices. This is typically called at the beginning of new account setup. if you create a new account via the API and don't call this endpoint you will have to manually provision your payment processing account from the settings under Accept Online Payments
.
Request Body
{"fname"=>"Marshall", "lname"=>"Johnston", "email"=>"api.freshbooks@gmail.com", "orgname"=>"Kevin's Corral", "redirect_base_uri"=>"https://my.freshbooks.com/#/gatewayConnectRedirect/fbpay/", "country"=>"CA", "allow_multiple_provision"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |