Payment
Any number of operations can be defined by the service provider, howbeit, the payment operation with the key payment will always be executed at the end of the operation chain if the user decides to go through with the payment. Therefore, the service provider is obliged to provide an implementation for the payment operation. Additionally, the Georgian Tetri is assumed to be the default currency.
Body Parameters
transactionIdrequiredstring
An unique transaction identifier, created by BOG.
amountrequirednumber
Amount in minor units (e.g. Georgian Tetri, American Cent, etc.).
currencyrequiredstring
Currency (ISO 4217 currency code), E.g. GEL
.
parametersrequiredobject
An object, that contains key
& value
pairs, where key
is the name of the parameter, and value
- the value of the parameter.
- REQUEST BODY
{
"transactionId": "00000000",
"amount": 500000,
"currency": "GEL",
"parameters": {
"personalNumber": "01234567890",
"birthDate": "11.01.2002"
}
}
Response
The service-provider must respond with the following JSON format:
status.codenumber
Refers to the pre-defined status codes.
status.valuestring
Status value (optional)
timestampnumber
UNIX timestamp – the amount of milliseconds that have passed since January 1st, 1970 at UTC.
receiptIdstring
receiptId is a unique identifier of the payment, returned from the service-provider after a successful payment operation (optional).
- RESPONSE
{
"status":{
"code":0,
"value":"OK"
},
"timestamp":1693236686855,
"receiptId":"1234"
}