Partial Payment
Enables collecting a single sale in multiple parts using different payment methods.
In the partial payment flow, the process is not completed and no fiscal record is created until the Complete call is made.
Initialize Partial Payment
Starts the partial payment flow where the same sale can be covered by different payment instruments. The returned saleNumber is used in the following steps.
Bearer Token authentication is performed using the access token.
Content type
application/jsonLanguage code. Default is TR
TRRequest correlation ID. If left empty, a UUID is generated automatically.
a1b2c3Unique identifier of the device. Maximum 64 characters
P00134Unique reference ID assigned by the caller for this transaction. It can be used in void and query operations.
REF-12345Gross amount. Must be positive
123.45Final payable amount. Must be positive
123.45Payment type. Card, Cash, etc.
CARDPossible values: Currency. Default is TRY
TRYPossible values: Installment count. Default is 1
1Name of the sale application
MyPOSVersion of the sale application
1.0.0Document type. 1 for e-Invoice, 9 for Expense Slip
1Possible values: Phone number requested for SMS notification
5551234567Email address requested for notification
customer@example.comSuccessful partial payment start result
success or failure
successError code
0Error message
Error messageCorrelation ID
partial-conv-001Timestamp epoch ms
1743980400000Main payment ID representing the partial payment flow. Used in Add Partial Payment and Complete Partial Payment steps.
PARENT-001Remaining unpaid amount
118Invalid request
POST /v2/terminal-host/gmu/partial-payment/start HTTP/1.1
Host: api.iyzipay.com
Authorization: Bearer {{access_token}}
Content-Type: application/json
{
"locale": "TR",
"conversationId": "partial-conv-001",
"deviceUniqueId": "P00134",
"transactionReferenceId": "REF-12345",
"price": 118.0,
"paidPrice": 118.0,
"currency": "TRY",
"installment": 1,
"saleAppName": "MyPOS",
"saleAppVersion": "1.0.0",
"saleDocumentType": "1",
"notificationPhone": "5551234567",
"notificationEmail": "customer@example.com",
"saleItems": [
{
"name": "Laptop",
"generic": false,
"unitCode": "C62",
"taxGroupCode": "VAT20",
"itemQuantity": 1,
"unitPriceAmount": 100.0,
"grossPriceAmount": 118.0,
"totalPriceAmount": 118.0
}
],
"buyerInfo": null
}
{
"status": "success",
"conversationId": "partial-conv-001",
"systemTime": 1743980400000,
"saleNumber": "PARENT-001",
"remainingPaymentAmount": 118
}Ödeme İşlemi Ekleme
Adds a new payment to an initiated partial payment flow. It can be called multiple times until the remaining amount becomes zero.
Bearer Token authentication is performed using the access token.
Content type
application/jsonLanguage code
TRCorrelation ID
add-conv-001Device unique ID
P00134Reference ID of this add payment transaction
REF-ADD-001saleNumber returned from the Start step
PARENT-001Amount to be paid in this step. Must not exceed the remaining amount
50Installment count. Default is 1
1Currency
TRYSuccessful partial payment add result
success or failure
successError code. Returns 0 for successful transactions
0Error message
Error messageCorrelation ID matching the request
conv-001transaction time epoch ms
1743980400000ID of the device used in the transaction
P00134Reference ID of the caller
REF-12345Date and time when the transaction occurred
2026-04-06 10:00:00Generated payment ID. Used in refund and void operations.
PAY-9876543Payment date. In YYYYMMDD format
20260406Transaction amount
118Installment count
1Acquirer bank ID
12Bank merchant number
000000001234Bank terminal ID
00001234Card issuer institution ID
59Currency
TRYPossible values: Authorization code
123456BIN number of the card. First 6 digits
454671Last 4 digits of the card
1234Host reference number
HOST-001Card type. Example CREDIT or DEBIT
CREDITBatch number
001STAN number
00001POS entry mode code
05Sale number. Used in partial payment add and complete services referenced in items 7 and 8
SALE-1Invalid request
POST /v2/terminal-host/gmu/partial-payment/add-payment HTTP/1.1
Host: api.iyzipay.com
Authorization: Bearer {{access_token}}
Content-Type: application/json
{
"locale": "TR",
"conversationId": "add-conv-001",
"deviceUniqueId": "P00134",
"transactionReferenceId": "REF-ADD-001",
"saleNumber": "PARENT-001",
"price": 50.0,
"installment": 1,
"currency": "TRY"
}
{
"status": "success",
"errorCode": "0",
"conversationId": "add-conv-001",
"systemTime": 1743980400000,
"deviceUniqueId": "P00134",
"transactionReferenceId": "REF-ADD-001",
"transactionDateTime": "2026-04-06 10:00:00",
"paymentId": "PAY-9876543",
"paymentDate": 20260406,
"price": 50,
"installment": 1,
"acquirerId": "12",
"bankMerchantId": "000000001234",
"bankTerminalId": "00001234",
"issuerId": "59",
"currency": "TRY",
"authCode": "123456",
"binNumber": "454671",
"lastFourDigits": "1234",
"hostReference": "HOST-001",
"cardType": "CREDIT",
"batchNo": "001",
"stanNo": "00001",
"posEntryModeCode": "05",
"saleItems": [],
"saleNumber": "PARENT-001"
}Complete Partial Payment
Closes the flow and finalizes the sale after all partial payments are added. Returns the full sale response.
Bearer Token authentication is performed using the access token.
Content type
application/jsonLanguage code
TRCorrelation ID
comp-conv-001Device unique ID. Maximum 64 characters
P00134Reference ID of this completion transaction
REF-COMP-001saleNumber returned from the Start Partial Payment step
PARENT-001Successful partial payment completion result
success or failure
successError code. Returns 0 for successful transactions
0Error message
Error messageCorrelation ID matching the request
conv-001transaction time epoch ms
1743980400000ID of the device used in the transaction
P00134Reference ID of the caller
REF-12345Date and time when the transaction occurred
2026-04-06 10:00:00Generated payment ID. Used in refund and void operations.
PAY-9876543Payment date. In YYYYMMDD format
20260406Transaction amount
118Installment count
1Acquirer bank ID
12Bank merchant number
000000001234Bank terminal ID
00001234Card issuer institution ID
59Currency
TRYPossible values: Authorization code
123456BIN number of the card. First 6 digits
454671Last 4 digits of the card
1234Host reference number
HOST-001Card type. Example CREDIT or DEBIT
CREDITBatch number
001STAN number
00001POS entry mode code
05Sale number. Used in partial payment add and complete services referenced in items 7 and 8
SALE-1Remaining payment amount. It must be 0 when completion is successful
0Invalid request
POST /v2/terminal-host/gmu/partial-payment/complete HTTP/1.1
Host: api.iyzipay.com
Authorization: Bearer {{access_token}}
Content-Type: application/json
{
"locale": "TR",
"conversationId": "comp-conv-001",
"deviceUniqueId": "P00134",
"transactionReferenceId": "REF-COMP-001",
"saleNumber": "PARENT-001"
}
{
"status": "success",
"errorCode": "0",
"conversationId": "comp-conv-001",
"systemTime": 1743980400000,
"deviceUniqueId": "P00134",
"transactionReferenceId": "REF-COMP-001",
"transactionDateTime": "2026-04-06 10:00:00",
"paymentId": "PAY-9876543",
"paymentDate": 20260406,
"price": 118,
"installment": 1,
"acquirerId": "12",
"bankMerchantId": "000000001234",
"bankTerminalId": "00001234",
"issuerId": "59",
"currency": "TRY",
"authCode": "123456",
"binNumber": "454671",
"lastFourDigits": "1234",
"hostReference": "HOST-001",
"cardType": "CREDIT",
"batchNo": "001",
"stanNo": "00001",
"posEntryModeCode": "05",
"saleItems": [],
"saleNumber": "PARENT-001",
"remainingPaymentAmount": 0
}Last updated
