Onboarding
User Fields
Field
Type
Required
Description
Tenant Fields
Field
Type
Required
Description
KYC Fields
Field
Type
Required
Description
Example cURL Request (Single User)
curl -X POST https://api.mypayr.co.uk/thirdparty/onboarding/ \
-H "Authorization: Token your_server_token" \
-H "Content-Type: application/json" \
-d '{
"user_id": 12345,
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith",
"phone_number": "+447900123456",
"date_of_birth": "2000-03-15",
"tenant": [{
"post_code": "E1 6AN",
"address_1": "Flat 4, 123 Student Hall",
"city": "London",
"country": "United Kingdom",
"is_primary": true,
"start_rent_date": "2024-09-01",
"end_rent_date": "2025-06-30",
"rent_due_day": 1,
"amount": "850.00",
"frequency": "every_1_month",
"is_active": true,
"payment_reference": "STU-2024-12345",
"recipient_bank_sort_code": "20-00-00",
"recipient_bank_account_number": "55779911",
"recipient_bank_account_name": "University Housing Ltd",
"agreement": "https://storage.example.com/agreements/stu_12345.pdf"
}],
"kyc": {
"pii_front": "https://storage.example.com/kyc/12345_passport_front.jpg",
"pii_back": null,
"photo": "https://storage.example.com/kyc/12345_selfie.jpg",
"status": "pending"
}
}'Example Response
Authorizations
AuthorizationstringRequired
Server-to-server authentication token obtained via the rotate-token endpoint.
Include in the Authorization header as: Authorization: Token <your_token>
Body
or
Responses
201
Users onboarded successfully
application/json
400
Bad Request - Validation error or processing failure
application/json
401
Unauthorized - Invalid or expired token
application/json
post
/onboarding/Last updated

