Create Rent Payment Invitation
Create a payment invitation.
Request body
referenceIdstringRequiredUnique ID to reference the payment invitation.
serviceIdstringRequiredService that should be used for processing payment (if there are more than one service available).
amountnumberRequiredDecimal amount to be paid, greater than 0.
accountstringRequiredPolish bank account for transferring the money. Validation regexp: ^(?!94109013910000000136446495|57105015331000009700154389)^([0-9]{26})$
typestringRequiredPayment type (RESERVATION_FEE|DEPOSIT|MONTHLY_FEE|ADMINISTRATION_FEE)
descriptionstringRequiredTransfer description. Validation regexp: ^.{1,79}$
forDatestringOptionalAdditional year-month date for types [MONTHLY_FEE]. Format: yyyy-MM
payerEmailstringOptionalEmail address to send an email with payment invitation by simpl.rent.
communicationLanguagestringOptionalDefault: pl. Language for initial tenant mailing and flow communication.
callbackUrlstringOptionalCallback URL for process updates (see rent payment status object).
Returns
paymentUrlstringURL to the payment page.
curl --location --request POST 'https://api-test.simpl.rent/v2/rent-payments' \
--header 'Authorization: <API key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"serviceId": "123",
"amount": 2000,
"account": "27114020040000300201355387",
"type": "DEPOSIT",
"description":"Kaucja 123",
"referenceId": "12345",
"callbackUrl": "simpl.rent",
"email":"test@simpl.rent"
}'Get Rent Payment Status
Get the status of a rent payment.
Path parameters
idstringUnique ID (referenceId) provided when creating the invitation.
Returns
Returns rent payment status object.
curl --location --request GET 'https://api-test.simpl.rent/v2/rent-payments/123' \
--header 'Authorization: <API key>'Rent Payment Status Object
Callback object for payment process updates.
referenceIdstringUnique ID to reference the payment invitation.
statusstringPayment status (NEW|PENDING|PAID|FAILED|CANCELED).
paidAmountnumberPaid amount.