Przelewy24 · Schema
extended_TransactionVerificationBody
PaymentsPayment GatewayBank TransferBLIKCard PaymentsE-CommercePolandPolishMulti-CurrencyFintech
Properties
| Name | Type | Description |
|---|---|---|
| merchantId | integer | Merchant ID |
| posId | integer | Shop identification number (defaults to merchant ID) |
| sessionId | string | Unique identifier from merchant's system |
| amount | integer | Transaction amount which format is presented as amount in lowest currency unit, e.g. 1.23 PLN = 123 |
| currency | string | Currency |
| orderId | integer | Id of an order assigned by P24 |
| sign | string | Checksum of parameters: {"sessionId":"str","orderId":int,"amount":int,"currency": |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "extended_TransactionVerificationBody",
"properties": {
"merchantId": {
"description": "Merchant ID",
"type": "integer"
},
"posId": {
"description": "Shop identification number (defaults to merchant ID)",
"type": "integer"
},
"sessionId": {
"description": "Unique identifier from merchant's system",
"type": "string",
"maxLength": 100
},
"amount": {
"description": "Transaction amount which format is presented as amount in lowest currency unit, e.g. 1.23 PLN = 123",
"type": "integer"
},
"currency": {
"description": "Currency",
"type": "string",
"maxLength": 3,
"default": "PLN"
},
"orderId": {
"description": "Id of an order assigned by P24",
"type": "integer",
"format": "int64"
},
"sign": {
"description": "Checksum of parameters:<br> {<font color = \"brown\">\"sessionId\":</font>\"str\",<font color = \"brown\">\"orderId\":</font>int,<font color = \"brown\">\"amount\":</font>int,<font color = \"brown\">\"currency\":</font>\"str\",<font color = \"brown\">\"crc\":</font>\"str\"} <br><br>calculated with the use of sha384<br><br> <b><font color = \"#DB2053\">IMPORTANT!:</font></b><br> in case json_encode function is used, the following attributes should be added <br> \"JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES\"",
"type": "string"
}
},
"required": [
"posId",
"sessionId",
"amount",
"currency",
"orderId",
"sign",
"merchantId"
]
}