Create Rent Payment Invitation
Create a payment invitation.
Request body
referenceId
stringRequiredUnique ID to reference the payment invitation.
serviceId
stringRequiredService that should be used for processing payment (if there are more than one service available).
amount
numberRequiredDecimal amount to be paid, greater than 0.
account
stringRequiredPolish bank account for transferring the money. Validation regexp: ^(?!94109013910000000136446495|57105015331000009700154389)^([0-9]{26})$
type
stringRequiredPayment type (RESERVATION_FEE|DEPOSIT|MONTHLY_FEE|ADMINISTRATION_FEE)
description
stringRequiredTransfer description. Validation regexp: ^.{1,79}$
forDate
stringOptionalAdditional year-month date for types [MONTHLY_FEE]. Format: yyyy-MM
payerEmail
stringOptionalEmail address to send an email with payment invitation by simpl.rent.
communicationLanguage
stringOptionalDefault: pl. Language for initial tenant mailing and flow communication.
callbackUrl
stringOptionalCallback URL for process updates (see rent payment status object).
Returns
paymentUrl
stringURL 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
id
stringUnique 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.
referenceId
stringUnique ID to reference the payment invitation.
status
stringPayment status (NEW|PENDING|PAID|FAILED|CANCELED).
paidAmount
numberPaid amount.