Creating Payment Requests
Payment Requests are handled via RTP API using header application/vnd.gini.v1+json
.
Request Body required
The iban (international bank account number) of the payment recipient
Name of the recipient of the payment
Address of the recipient of the payment
The amount in Euros (EUR) of the payment
The id of the target payment provider. Used for security reasons.
The purpose of the payment, e.g. the invoice or the customer identifier. Used to match Gini's RTP payment with your transaction in the future.
- 201
- 401
Successfully created the payment request
Schema
The id of the payment request
The iban (international bank account number) of the payment recipient
Name of the recipient of the payment
Address of the recipient of the payment
The amount in Euros (EUR) of the payment
The id of the target payment provider. Used for security reasons.
The purpose of the payment, e.g. the invoice or the customer identifier. Used to match Gini's RTP payment with your transaction in the future.
The uri of the business SDK app for returning after successful payment. Contains the payment request id as parameter. This is going to be used by you in case of an App-to-App integration.
The uri of the bank app selected by the customer for opening the App via deeplink.
ISO Date String for the RTP Request payment creation
Expiry Date/Time of the RTP. Beyond this date/time the RTP becomes void.
Status depending on the comparison of the payment request with the actual payment can be "created", "scanned", "paid" or "invalid". By created means that the payment flow has been initiated; by scanned it means the RTP payment has already started (you can probably show a loader); paid means the RTP request have successfully finished and invalid any other refusal/denial of the payment.
{
"id": "b4bd3e80-7bd1-11e4-95ab-000000000000",
"iban": "DE02300209000106531065",
"recipient": "Zalando AG",
"address": "Valeska-Gert-Straße 5 10243, Berlin, Germany",
"amount": 335.5,
"paymentProvider": "9a9b41f2-32f8-11eb-9fb5-e378350b0392",
"purpose": "ReNr AZ356789Z",
"requesterUri": "ginipay-example://payment-requester?paymentRequestId=b4bd3e80-7bd1-11e4-95ab-000000000000",
"rtpBankUri": "bank-example://payment-provider?paymentRequestId=b4bd3e80-7bd1-11e4-95ab-000000000000",
"createdAt": "2023-10-05T14:48:00.000Z",
"expirationDate": "2023-12-05T14:48:00.000Z",
"status": "paid"
}
Authentication information is missing or invalid. Please, check your client-id, your client-secret and your Bearer token if is still valid