Download OpenAPI specification:Download
| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
Array of objects (GetPointChannelsResource) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": [
- {
- "id": "mbank",
- "available": true,
- "method": "PBL",
- "name": "mBank",
- "amount": {
- "minimum": "10.00",
- "maximum": "10000.00"
}, - "aliases": [
- "string"
], - "currencies": [
- "string"
], - "commission": {
- "value": "1.65",
- "minimum": "0.30",
- "fixed": "2.50"
}, - "authorization": {
- "type": [
- "REDIRECT"
]
}, - "paymentType": "INSTANT",
- "compliance": [
- {
- "id": "info_gdpr",
- "type": "DISPLAYABLE",
- "required": false,
- "checked": false,
- "content": {
- "text": "Administratorem Twoich danych jest Paymentic...",
- "html": "Administratorem Twoich danych jest <b>Paymentic</b>...",
- "markdown": "Administratorem Twoich danych jest **Paymentic**..."
}, - "links": [
]
}
], - "enablingAt": "2019-08-24T14:15:22Z",
- "disablingAt": "2019-08-24T14:15:22Z"
}
]
}object | |||||||||||||
| |||||||||||||
{- "data": {
- "message": "pong",
- "environment": "sandbox",
- "tokenId": "2a77157f-7a73-413d-90a1-cd1263533d61",
- "clientId": "72b631fe",
- "version": "1.2",
- "scopes": [
- "*"
]
}
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| transactionId required | string (TransactionIdSchema) = 14 characters ^[A-Z0-9]{4}-[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]... Example: ABC1-AB2-AB3-ABC4 Transaction ID |
{- "data": { }
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| filter[status] | string Example: filter[status]=PAID |
| filter[amount] | string Example: filter[amount]=100.50 |
| filter[externalReferenceId] | string Example: filter[externalReferenceId]=EXT-REF-123 |
| filter[orderId] | string Example: filter[orderId]=ORD-12345 |
| filter[customerName] | string Example: filter[customerName]=John Doe |
| filter[customerEmail] | |
| filter[blikId] | string Example: filter[blikId]=BLIK123 |
| filter[cardBin] | string = 6 characters Example: filter[cardBin]=411111 |
| filter[providerId] | string Example: filter[providerId]=blik |
| filter[createdAt] | string Example: filter[createdAt]=2024-01-01T00:00:00Z,2024-12-31T23:59:59Z Date range in format: YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ |
| filter[paidAt] | string Example: filter[paidAt]=2024-01-01T00:00:00Z,2024-12-31T23:59:59Z Date range in format: YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ |
| query[full] | string Example: query[full]=John Full-text search across all searchable fields |
| query[customerName] | string Example: query[customerName]=John Doe Search by customer name |
| query[customerEmail] | |
| query[title] | string Example: query[title]=Order #12345 Search by transaction title |
| page[number] | integer >= 1 Example: page[number]=1 |
| page[size] | integer [ 1 .. 100 ] Example: page[size]=25 |
Array of objects (GetTransactionsResource) | |||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
{- "data": [
- {
- "id": "ABC1-AB2-AB3-ABC4",
- "status": "CREATED",
- "amount": "123.45",
- "title": "Order #12345",
- "commission": "1.23",
- "customerName": "John Doe",
- "externalReferenceId": "EXT-REF-123",
- "paymentMethod": "BLIK",
- "paymentChannel": "blik-psp",
- "orderId": "ORD-12345",
- "blikId": "BLIK123",
- "cardBin": "411111",
- "paidAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 1,
- "pageSize": 25,
- "total": 320,
- "totalPages": 13,
- "from": 1,
- "to": 25,
- "links": {
- "first": "string",
- "prev": "string",
- "next": "string",
- "last": "string"
}
}
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
Create payment transaction
| amount required | string <decimal> Amount in minor precision with up to 2 decimals | ||||||||||||||||||||||
| currency | string or null = 3 characters Default: "PLN" Enum: "PLN" "EUR" ISO 4217 3-letter currency code. Defaults to PLN when omitted. | ||||||||||||||||||||||
| title required | string [ 5 .. 64 ] characters | ||||||||||||||||||||||
| description | string or null <= 128 characters | ||||||||||||||||||||||
| externalReferenceId | string or null <= 64 characters | ||||||||||||||||||||||
object or null | |||||||||||||||||||||||
| |||||||||||||||||||||||
(CustomerDataSchema (object or null)) | |||||||||||||||||||||||
One of
| |||||||||||||||||||||||
(OrderDataSchema (object or null)) | |||||||||||||||||||||||
One of
| |||||||||||||||||||||||
(CustomerFullDataSchema (object or null)) | |||||||||||||||||||||||
One of
| |||||||||||||||||||||||
(CustomerFullDataSchema (object or null)) | |||||||||||||||||||||||
One of
| |||||||||||||||||||||||
Array of objects or null | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
| paymentMethod | string or null Enum: "BLIK" "PBL" "BNPL" "CARD" "MOBILE_WALLET" | ||||||||||||||||||||||
| paymentChannel | string or null | ||||||||||||||||||||||
Array of objects or null Whitelist of payment methods (optionally narrowed to a specific channel) that the gateway will present to the customer. Cannot be combined with hiddenPaymentMethods, paymentMethod or paymentChannel. When paymentChannel is null, all channels of that method are allowed. | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
Array of objects or null List of payment methods (optionally narrowed to a specific channel) that the gateway will hide from the customer. Cannot be combined with allowedPaymentMethods, paymentMethod or paymentChannel. When paymentChannel is null, all channels of that method are hidden. | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
| createRegistration | boolean or null If true, store customer payment instrument for recurring transactions. | ||||||||||||||||||||||
| whitelabel | boolean or null | ||||||||||||||||||||||
| autoCapture | boolean or null | ||||||||||||||||||||||
| expiresAt | string or null <date-time> | ||||||||||||||||||||||
object (CreateTransactionResource) | |||||||
| |||||||
{- "amount": "123.45",
- "currency": "PLN",
- "title": "Order #12345",
- "description": "string",
- "externalReferenceId": "string",
- "customer": {
- "name": "John Doe",
- "emailVerified": true,
- "phone": "+48123456789",
- "phoneVerified": true,
- "country": "PL",
- "locale": "st",
- "ip": "string",
- "userAgent": "string",
- "fingerprint": "string"
}, - "order": {
- "id": "string",
- "shippingMethod": "VIRTUAL",
- "trackingNumber": "string",
- "customerType": "B2B"
}, - "billingAddress": {
- "firstName": "John",
- "lastName": "Doe",
- "street": "ul. Kowalska",
- "buildingNumber": "26",
- "flat": "string",
- "city": "Bielsko-Biała",
- "region": "string",
- "postalCode": "43-316",
- "state": "string",
- "country": "PL",
- "company": "string"
}, - "shippingAddress": {
- "firstName": "John",
- "lastName": "Doe",
- "street": "ul. Kowalska",
- "buildingNumber": "26",
- "flat": "string",
- "city": "Bielsko-Biała",
- "region": "string",
- "postalCode": "43-316",
- "state": "string",
- "country": "PL",
- "company": "string"
}, - "cart": [
- {
- "name": "string",
- "quantity": 1,
- "unitPrice": "string",
- "type": "PRODUCT",
- "productType": "PHYSICAL",
- "sku": "string"
}
], - "paymentMethod": "CARD",
- "paymentChannel": null,
- "allowedPaymentMethods": [
- {
- "paymentMethod": "BLIK",
- "paymentChannel": "blik-level0"
}
], - "hiddenPaymentMethods": [
- {
- "paymentMethod": "BNPL",
- "paymentChannel": null
}
], - "createRegistration": true,
- "whitelabel": true,
- "autoCapture": true,
- "expiresAt": "2019-08-24T14:15:22Z"
}{- "data": {
- "id": "ABCD-123-XYZ-9876",
- "whitelabel": null
}
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| transactionId required | string (TransactionIdSchema) = 14 characters ^[A-Z0-9]{4}-[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]... Example: ABC1-AB2-AB3-ABC4 Transaction ID |
object (GetTransactionDetailsResource) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": { },
- "status": "CREATED",
- "amount": "123.45",
- "currency": "PLN",
- "title": "Order #12345",
- "commission": "1.23",
- "description": "Payment for order #12345",
- "customer": {
- "name": "John Doe",
- "emailVerified": true,
- "phone": "+48123456789",
- "phoneVerified": true,
- "country": "PL",
- "locale": "st",
- "ip": "string",
- "userAgent": "string",
- "fingerprint": "string"
}, - "order": {
- "id": "string",
- "shippingMethod": "VIRTUAL",
- "trackingNumber": "string",
- "customerType": "B2B"
}, - "billingAddress": {
- "firstName": "John",
- "lastName": "Doe",
- "street": "ul. Kowalska",
- "buildingNumber": "26",
- "flat": "string",
- "city": "Bielsko-Biała",
- "region": "string",
- "postalCode": "43-316",
- "state": "string",
- "country": "PL",
- "company": "string"
}, - "shippingAddress": {
- "firstName": "John",
- "lastName": "Doe",
- "street": "ul. Kowalska",
- "buildingNumber": "26",
- "flat": "string",
- "city": "Bielsko-Biała",
- "region": "string",
- "postalCode": "43-316",
- "state": "string",
- "country": "PL",
- "company": "string"
}, - "externalReferenceId": "EXT-REF-123",
- "redirect": {
}, - "paymentMethod": "VISA",
- "paymentChannel": null,
- "whitelabel": false,
- "cart": [
- {
- "name": "Harry Potter",
- "quantity": 1,
- "unitPrice": "19.99"
}
], - "autoCapture": true,
- "isCaptured": false,
- "capturedAt": "2019-08-24T14:15:22Z",
- "paidAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z"
}
}Process a BLIK payment transaction using a 6-digit code
| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| transactionId required | string (TransactionIdSchema) = 14 characters ^[A-Z0-9]{4}-[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]... Example: ABC1-AB2-AB3-ABC4 Transaction ID |
BLIK transaction processing data
| type required | string Enum: "CODE" "ALIAS" BLIK transaction type | ||||||
| code required | string = 6 characters ^\d{6}$ 6-digit BLIK code (required when type is CODE) | ||||||
object Alias data | |||||||
| |||||||
{- "type": "CODE",
- "code": "777123",
}{- "data": {
- "actionId": "01kaqf5trc82bk6cqqanjcjwnq",
- "alias": null
}
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| transactionId required | string (TransactionIdSchema) = 14 characters ^[A-Z0-9]{4}-[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]... Example: ABC1-AB2-AB3-ABC4 Transaction ID |
Create transaction refund
| amount required | string <decimal> Amount in minor precision with up to 2 decimals |
| reason | string or null <= 64 characters Reason for refund |
| externalReferenceId | string <= 64 characters External reference ID |
object (CreateTransactionRefundResource) | |||||
| |||||
{- "amount": "123.45",
- "reason": "string",
- "externalReferenceId": "string"
}{- "data": {
- "id": "AB1-AB2-AB3",
- "status": "CREATED"
}
}| pointId required | string (PointIdSchema) ^[0-9a-f]{8}$ Example: b8e6e2fc Point ID |
| transactionId required | string (TransactionIdSchema) = 14 characters ^[A-Z0-9]{4}-[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]... Example: ABC1-AB2-AB3-ABC4 Transaction ID |
| refundId required | string^[A-Z0-9]{3}-[A-Z0-9]{3}-[A-Z0-9]{3}$ Example: AB1-AB2-AB3 Refund ID |
object (GetRefundDetailsResource) | |||||||||||||||
| |||||||||||||||
{- "data": {
- "id": "AB1-AB2-AB3",
- "status": "CREATED",
- "amount": "123.45",
- "reason": "string",
- "externalReferenceId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}