Create Invitation

POST

/public/v3/invitations

Creates a new Invitation.

Invitations are special links for the customer that you can send to request their bank account data.

Please create a Customer before using this endpoint. Invitations are automatically assigned to customers by reference.

Before using this endpoint, please create a customer with a reference and then use this reference in this endpoint. Invitations are automatically assigned to the customer by a reference, so ensure it is the same. You can generate infinite invitations; it can be helpful to ask for more bank account data. Invitations can be sent by Planky via email. To make it happen, use the send_email flag set to true. If you just want a pure URL, set send_email to false.

Once the customer shares their bank account data, you can listen to Webhooks (REPORT_AVAILABLE and REPORT_UPDATED) to pull data into your system.

Parameters

none

Query parameters

none

Request body parameters

ParameterData typeRequired?Description
customer_typeenumnoAllowed:(Individual, Business)
last_namestringnoLast name
first_namestringnoFirst name
company_namestringnoCompany name
emailstringyesEmail
phonestringnoPhone
referencestringyesCustomer reference
send_emailbooleannoSet to true if you want Planky to send email with invitation

Response body parameters

ParameterData typeRequired?Description
idstringyesID
customer_typeenumyesAllowed:(Individual, Business)
last_namestringyesLast name
first_namestringyesFirst name
company_namestringyesCompany name
emailstringyesEmail
phonestringyesPhone
referencestringyesCustomer reference
send_emailbooleanyesSet to true if you want Planky to send email with invitation
created_atintegeryesWhen the invitation was created
revoked_atintegernoWhen the invitation was revoked
used_atintegernoWhen the invitation was used
expires_inintegeryesExpires in [s] seconds.
urlstringyesURL shared with your customer

Request example

Response example:

Was this article helpful?

Friendly Score UK Ltd.

41 Luke Street

London EC2A 4DP

Call us on +44 20 3996 3540

Company registered in England

Company number 09168668, ICO ZA111687

VAT registration number 206 9758 80

Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)