POST api/Merchant/v1/GetPaymentsRelatedToSettlementTransaction
Method returns all payments (account transactions) that are settled for payment provider with given settlement transaction id.
Request Information
URI Parameters
None.
Body Parameters
GetPaymentsRelatedToSettlementTransactionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| paymentProviderId |
Id of payment provider (M) |
globally unique identifier |
None. |
| settlementTransactionId |
Id of settlement transaction (M) |
globally unique identifier |
None. |
| OrganizationCode | string |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"paymentProviderId": "4b7f535e-0ae4-481a-9698-c4b33c0eb7f0",
"settlementTransactionId": "dabd6864-5221-4b31-a152-b805bb3e78b4",
"OrganizationCode": "sample string 3",
"UserName": "sample string 4",
"Password": "sample string 5"
}
application/xml, text/xml
Sample:
<GetPaymentsRelatedToSettlementTransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.Merchant"> <OrganizationCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 3</OrganizationCode> <Password xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 5</Password> <UserName xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</UserName> <paymentProviderId>4b7f535e-0ae4-481a-9698-c4b33c0eb7f0</paymentProviderId> <settlementTransactionId>dabd6864-5221-4b31-a152-b805bb3e78b4</settlementTransactionId> </GetPaymentsRelatedToSettlementTransactionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPaymentsRelatedToSettlementTransactionReply| Name | Description | Type | Additional information |
|---|---|---|---|
| Reply |
None. |
Response Formats
application/json, text/json
Sample:
{
"Reply": [
{
"Id": "5a098b11-ca62-4560-bd4e-0011b0d62214",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "45504580-e6c1-4b22-bf92-98490ad15b2b",
"PaymentProviderId": "179c7b10-829b-4d52-96e6-b5d8bc45d675",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-02-28T08:50:17.7060406+00:00",
"ValueDate": "2026-02-28T08:50:17.7060406+00:00",
"PaymentDate": "2026-02-28T08:50:17.7060406+00:00",
"RegistrationTime": "2026-02-28T08:50:17.7060406+00:00",
"ReverseTime": "2026-02-28T08:50:17.7060406+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "b241b7fe-a6d1-4584-916c-6293c7527670",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
},
{
"Id": "5a098b11-ca62-4560-bd4e-0011b0d62214",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "45504580-e6c1-4b22-bf92-98490ad15b2b",
"PaymentProviderId": "179c7b10-829b-4d52-96e6-b5d8bc45d675",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-02-28T08:50:17.7060406+00:00",
"ValueDate": "2026-02-28T08:50:17.7060406+00:00",
"PaymentDate": "2026-02-28T08:50:17.7060406+00:00",
"RegistrationTime": "2026-02-28T08:50:17.7060406+00:00",
"ReverseTime": "2026-02-28T08:50:17.7060406+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "b241b7fe-a6d1-4584-916c-6293c7527670",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
}
],
"Ok": true,
"ErrorMessage": "sample string 2",
"ErrorCode": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<GetPaymentsRelatedToSettlementTransactionReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.Merchant">
<ErrorCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 3</ErrorCode>
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 2</ErrorMessage>
<Message xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</Message>
<Ok xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">true</Ok>
<Reply>
<AccountTransaction>
<AccountId>45504580-e6c1-4b22-bf92-98490ad15b2b</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-02-28T08:50:17.7060406+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>5a098b11-ca62-4560-bd4e-0011b0d62214</Id>
<PaymentDate>2026-02-28T08:50:17.7060406+00:00</PaymentDate>
<PaymentProviderId>179c7b10-829b-4d52-96e6-b5d8bc45d675</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-02-28T08:50:17.7060406+00:00</RegistrationTime>
<ReverseTime>2026-02-28T08:50:17.7060406+00:00</ReverseTime>
<SettlementTransactiontId>b241b7fe-a6d1-4584-916c-6293c7527670</SettlementTransactiontId>
<ValueDate>2026-02-28T08:50:17.7060406+00:00</ValueDate>
</AccountTransaction>
<AccountTransaction>
<AccountId>45504580-e6c1-4b22-bf92-98490ad15b2b</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-02-28T08:50:17.7060406+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>5a098b11-ca62-4560-bd4e-0011b0d62214</Id>
<PaymentDate>2026-02-28T08:50:17.7060406+00:00</PaymentDate>
<PaymentProviderId>179c7b10-829b-4d52-96e6-b5d8bc45d675</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-02-28T08:50:17.7060406+00:00</RegistrationTime>
<ReverseTime>2026-02-28T08:50:17.7060406+00:00</ReverseTime>
<SettlementTransactiontId>b241b7fe-a6d1-4584-916c-6293c7527670</SettlementTransactiontId>
<ValueDate>2026-02-28T08:50:17.7060406+00:00</ValueDate>
</AccountTransaction>
</Reply>
</GetPaymentsRelatedToSettlementTransactionReply>