Partners only
Declare Partnership Data π«π·
Create declaration on a partner company for billing. (Only for partners)
Required scopes: None
post/companies/{companyId}/billing-declarations
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
Request body
Example request
{
"quantityByProducts": [
{
"productName": "meal-vouchers",
"quantity": 10
},
{
"productName": "health-insurance",
"quantity": 5
}
]
}Response
The declaration was correctly created
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.