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": "742f890a-c3dc-442c-a5a6-298261f5a366",
"settlementTransactionId": "b3700887-c2c9-4018-badc-94263b9338fb",
"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>742f890a-c3dc-442c-a5a6-298261f5a366</paymentProviderId> <settlementTransactionId>b3700887-c2c9-4018-badc-94263b9338fb</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": "c269e3b3-9b50-4f50-a399-27f74ba76f4d",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "8726dfcd-fe20-4ae3-a014-f176aa49b28b",
"PaymentProviderId": "e12aa8ae-2e0d-42be-8f22-9c35bd3c47c9",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2025-11-07T16:35:53.7365197+00:00",
"ValueDate": "2025-11-07T16:35:53.7365197+00:00",
"PaymentDate": "2025-11-07T16:35:53.7365197+00:00",
"RegistrationTime": "2025-11-07T16:35:53.7365197+00:00",
"ReverseTime": "2025-11-07T16:35:53.7365197+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "84938590-532f-4402-95d2-c58530854757",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
},
{
"Id": "c269e3b3-9b50-4f50-a399-27f74ba76f4d",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "8726dfcd-fe20-4ae3-a014-f176aa49b28b",
"PaymentProviderId": "e12aa8ae-2e0d-42be-8f22-9c35bd3c47c9",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2025-11-07T16:35:53.7365197+00:00",
"ValueDate": "2025-11-07T16:35:53.7365197+00:00",
"PaymentDate": "2025-11-07T16:35:53.7365197+00:00",
"RegistrationTime": "2025-11-07T16:35:53.7365197+00:00",
"ReverseTime": "2025-11-07T16:35:53.7365197+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "84938590-532f-4402-95d2-c58530854757",
"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>8726dfcd-fe20-4ae3-a014-f176aa49b28b</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2025-11-07T16:35:53.7365197+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>c269e3b3-9b50-4f50-a399-27f74ba76f4d</Id>
<PaymentDate>2025-11-07T16:35:53.7365197+00:00</PaymentDate>
<PaymentProviderId>e12aa8ae-2e0d-42be-8f22-9c35bd3c47c9</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2025-11-07T16:35:53.7365197+00:00</RegistrationTime>
<ReverseTime>2025-11-07T16:35:53.7365197+00:00</ReverseTime>
<SettlementTransactiontId>84938590-532f-4402-95d2-c58530854757</SettlementTransactiontId>
<ValueDate>2025-11-07T16:35:53.7365197+00:00</ValueDate>
</AccountTransaction>
<AccountTransaction>
<AccountId>8726dfcd-fe20-4ae3-a014-f176aa49b28b</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2025-11-07T16:35:53.7365197+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>c269e3b3-9b50-4f50-a399-27f74ba76f4d</Id>
<PaymentDate>2025-11-07T16:35:53.7365197+00:00</PaymentDate>
<PaymentProviderId>e12aa8ae-2e0d-42be-8f22-9c35bd3c47c9</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2025-11-07T16:35:53.7365197+00:00</RegistrationTime>
<ReverseTime>2025-11-07T16:35:53.7365197+00:00</ReverseTime>
<SettlementTransactiontId>84938590-532f-4402-95d2-c58530854757</SettlementTransactiontId>
<ValueDate>2025-11-07T16:35:53.7365197+00:00</ValueDate>
</AccountTransaction>
</Reply>
</GetPaymentsRelatedToSettlementTransactionReply>