CreateBankTransaction
POST/orgs/:org_guid/terminals/bank/:terminal_guid/transactions
CreateBankTransaction
Request
Path Parameters
Query Parameters
Possible values: [compact
, full
]
Header Parameters
ClientIdentifier
Possible values: [Unknown
, App
, WebApp
, Service
]
ClientType
ClientName
ClientOSName
ClientOSVersion
ClientScreenResolution
ClientModel
OrganizationAlias
ClientExtensions
Language
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
Array [
]
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
sources
object
Possible values: [Payment
, Cancellation
, Refund
, Rollback
]
Possible values: <= 24 characters
merchant_id
Possible values: <= 24 characters
terminal_id
number
amount
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
registered_at
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 24 characters
emv_application_identifier
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
card_expires_at
Possible values: <= 256 characters
card_hash
Possible values: <= 8 characters
host_response_code
Possible values: <= 128 characters
host_response_message
print_view
additional_attributes
object[]
nullable
additional_attributes
Possible values: <= 128 characters
name
Possible values: <= 1024 characters
value
type_of
type_of
bank_terminal
object
guid
type_of
Possible values: [Card
, YaPay
, MirPay
, SberPay
]
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
registered_at
Possible values: [Payment
, Cancellation
, Refund
]
Possible values: [Offline
, Online
]
Possible values: [Completed
, Hold
, Rejected
]
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
Body
Array [
]
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
sources
object
Possible values: [Payment
, Cancellation
, Refund
, Rollback
]
Possible values: <= 24 characters
merchant_id
Possible values: <= 24 characters
terminal_id
number
amount
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
registered_at
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 24 characters
emv_application_identifier
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
card_expires_at
Possible values: <= 256 characters
card_hash
Possible values: <= 8 characters
host_response_code
Possible values: <= 128 characters
host_response_message
print_view
additional_attributes
object[]
nullable
additional_attributes
Possible values: <= 128 characters
name
Possible values: <= 1024 characters
value
type_of
type_of
bank_terminal
object
guid
type_of
Possible values: [Card
, YaPay
, MirPay
, SberPay
]
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
registered_at
Possible values: [Payment
, Cancellation
, Refund
]
Possible values: [Offline
, Online
]
Possible values: [Completed
, Hold
, Rejected
]
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
Body
Array [
]
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
sources
object
Possible values: [Payment
, Cancellation
, Refund
, Rollback
]
Possible values: <= 24 characters
merchant_id
Possible values: <= 24 characters
terminal_id
number
amount
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
registered_at
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 24 characters
emv_application_identifier
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
card_expires_at
Possible values: <= 256 characters
card_hash
Possible values: <= 8 characters
host_response_code
Possible values: <= 128 characters
host_response_message
print_view
additional_attributes
object[]
nullable
additional_attributes
Possible values: <= 128 characters
name
Possible values: <= 1024 characters
value
type_of
type_of
bank_terminal
object
guid
type_of
Possible values: [Card
, YaPay
, MirPay
, SberPay
]
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
registered_at
Possible values: [Payment
, Cancellation
, Refund
]
Possible values: [Offline
, Online
]
Possible values: [Completed
, Hold
, Rejected
]
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
Body
Array [
]
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
sources
object
Possible values: [Payment
, Cancellation
, Refund
, Rollback
]
Possible values: <= 24 characters
merchant_id
Possible values: <= 24 characters
terminal_id
number
amount
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
registered_at
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 24 characters
emv_application_identifier
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
card_expires_at
Possible values: <= 256 characters
card_hash
Possible values: <= 8 characters
host_response_code
Possible values: <= 128 characters
host_response_message
print_view
additional_attributes
object[]
nullable
additional_attributes
Possible values: <= 128 characters
name
Possible values: <= 1024 characters
value
type_of
type_of
bank_terminal
object
guid
type_of
Possible values: [Card
, YaPay
, MirPay
, SberPay
]
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
registered_at
Possible values: [Payment
, Cancellation
, Refund
]
Possible values: [Offline
, Online
]
Possible values: [Completed
, Hold
, Rejected
]
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
Responses
- 201
- 401
- 403
- 404
- 422
- 429
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
sources
object
Possible values: [Payment
, Cancellation
, Refund
, Rollback
]
Possible values: <= 24 characters
merchant_id
Possible values: <= 24 characters
terminal_id
number
amount
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
registered_at
Possible values: <= 16 characters
authorization_code
Possible values: <= 24 characters
reference_retrieval_number
Possible values: <= 24 characters
emv_application_identifier
Possible values: <= 48 characters
emv_application_label
Possible values: <= 19 characters
card_number
Possible values: <= 32 characters
cardholder_name
card_expires_at
Possible values: <= 256 characters
card_hash
Possible values: <= 8 characters
host_response_code
Possible values: <= 128 characters
host_response_message
print_view
additional_attributes
object[]
nullable
additional_attributes
Possible values: <= 128 characters
name
Possible values: <= 1024 characters
value
type_of
type_of
bank_terminal
object
guid
type_of
Possible values: [Card
, YaPay
, MirPay
, SberPay
]
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
registered_at
Possible values: [Payment
, Cancellation
, Refund
]
Possible values: [Offline
, Online
]
Possible values: [Completed
, Hold
, Rejected
]
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
{
"authorization_code": "string",
"reference_retrieval_number": "string",
"emv_application_label": "string",
"card_number": "string",
"cardholder_name": "string",
"sources": {
"operation": "Payment",
"merchant_id": "string",
"terminal_id": "string",
"number": 0,
"amount": 0,
"currency_code": "RUB",
"registered_at": "2024-11-18T08:30:48.555Z",
"authorization_code": "string",
"reference_retrieval_number": "string",
"emv_application_identifier": "string",
"emv_application_label": "string",
"card_number": "string",
"cardholder_name": "string",
"card_expires_at": "2024-11-18T08:30:48.555Z",
"card_hash": "string",
"host_response_code": "string",
"host_response_message": "string",
"print_view": "string",
"additional_attributes": [
{
"name": "string",
"value": "string",
"type_of": "string"
}
],
"type_of": "string"
},
"bank_terminal": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"payment_type": "Card",
"type_of": "string",
"amount": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"registered_at": "2024-11-18T08:30:48.556Z",
"operation": "Payment",
"transaction_type": "Offline",
"status": "Completed",
"created_at": "2024-11-18T08:30:48.556Z",
"updated_at": "2024-11-18T08:30:48.556Z",
"deleted_at": "2024-11-18T08:30:48.556Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Client Error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}