Create a new transaction
POST/transactions
Create a new transaction
Request
Header Parameters
Sub-account identifier required for all requests
- application/json
Body
required
Flag to indicate if the payment is instant.
Amount of the payment in cents.
Currency of the payment
URL for transaction authentication
URL for transaction notifications
Unique identifier for the account.
Unique identifier for the terminal.
Unique identifier for the contract.
Responses
- 201
- 400
Transaction created successfully
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier of the transaction
Time when the transaction was last modified
Transaction identifier
Current status of the transaction
Indicates if the transaction was an instant payment
Transaction amount in cents without VAT
Total transaction amount in cents
Currency of the transaction
VAT amount in cents
Label of the transaction
URL for transaction authentication
URL to redirect after transaction completion
URL for transaction notifications
Time when the transaction was initiated
Time when the transaction was finished
Account associated with the transaction
Contract associated with the transaction
Terminal associated with the transaction
Installment associated with the transaction
Creator of the transaction
{
"transaction_id": "123e4567-e89b-12d3-a456-426614174000",
"transaction_last_modified": "2024-04-25T10:00:00Z",
"transaction_id_oxlin": "OXLIN_123456789",
"transaction_status": "completed",
"transaction_instant_payment": true,
"transaction_amount_without_vat": 1000,
"transaction_amount_cents": 1200,
"transaction_currency": "EUR",
"transaction_vat": 20,
"transaction_label": "Transaction for service",
"transaction_auth_url": "https://example.com/auth",
"transaction_redirect_url": "https://example.com/redirect",
"transaction_notification_url": "https://example.com/notify",
"transaction_initiated": "2024-04-25T10:00:00Z",
"transaction_finished": "2024-04-25T10:00:00Z",
"account_id": "123e4567-e89b-12d3-a456-426614174000",
"contract_id": "123e4567-e89b-12d3-a456-426614174000",
"terminal_id": "123e4567-e89b-12d3-a456-426614174000",
"installment_id": "123e4567-e89b-12d3-a456-426614174000",
"creator_id": "Admin"
}
Bad Request