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": "98661ffd-d3f8-4023-912e-56f566c49297",
"settlementTransactionId": "b0b90838-c28e-47d2-ae60-d9aca9e1f6a1",
"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>98661ffd-d3f8-4023-912e-56f566c49297</paymentProviderId> <settlementTransactionId>b0b90838-c28e-47d2-ae60-d9aca9e1f6a1</settlementTransactionId> </GetPaymentsRelatedToSettlementTransactionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPaymentsRelatedToSettlementTransactionReply| Name | Description | Type | Additional information |
|---|---|---|---|
| Reply | Collection of AccountTransaction |
None. |
|
| Ok | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorCode | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Reply": [
{
"Id": "d41e329c-c6d8-41cc-a560-7c13ca59a8dc",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "5e91130a-22ac-4fb2-9920-7d8a2eff4fcf",
"PaymentProviderId": "211a38d5-05b0-45a2-bb84-8433715af07d",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-06-26T05:56:15.4379674+00:00",
"ValueDate": "2026-06-26T05:56:15.4379674+00:00",
"PaymentDate": "2026-06-26T05:56:15.4379674+00:00",
"RegistrationTime": "2026-06-26T05:56:15.4379674+00:00",
"ReverseTime": "2026-06-26T05:56:15.4379674+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "2410186d-9922-4bce-a618-2a0c98ed9726",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
},
{
"Id": "d41e329c-c6d8-41cc-a560-7c13ca59a8dc",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "5e91130a-22ac-4fb2-9920-7d8a2eff4fcf",
"PaymentProviderId": "211a38d5-05b0-45a2-bb84-8433715af07d",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-06-26T05:56:15.4379674+00:00",
"ValueDate": "2026-06-26T05:56:15.4379674+00:00",
"PaymentDate": "2026-06-26T05:56:15.4379674+00:00",
"RegistrationTime": "2026-06-26T05:56:15.4379674+00:00",
"ReverseTime": "2026-06-26T05:56:15.4379674+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "2410186d-9922-4bce-a618-2a0c98ed9726",
"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>5e91130a-22ac-4fb2-9920-7d8a2eff4fcf</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-06-26T05:56:15.4379674+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>d41e329c-c6d8-41cc-a560-7c13ca59a8dc</Id>
<PaymentDate>2026-06-26T05:56:15.4379674+00:00</PaymentDate>
<PaymentProviderId>211a38d5-05b0-45a2-bb84-8433715af07d</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-06-26T05:56:15.4379674+00:00</RegistrationTime>
<ReverseTime>2026-06-26T05:56:15.4379674+00:00</ReverseTime>
<SettlementTransactiontId>2410186d-9922-4bce-a618-2a0c98ed9726</SettlementTransactiontId>
<ValueDate>2026-06-26T05:56:15.4379674+00:00</ValueDate>
</AccountTransaction>
<AccountTransaction>
<AccountId>5e91130a-22ac-4fb2-9920-7d8a2eff4fcf</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-06-26T05:56:15.4379674+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>d41e329c-c6d8-41cc-a560-7c13ca59a8dc</Id>
<PaymentDate>2026-06-26T05:56:15.4379674+00:00</PaymentDate>
<PaymentProviderId>211a38d5-05b0-45a2-bb84-8433715af07d</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-06-26T05:56:15.4379674+00:00</RegistrationTime>
<ReverseTime>2026-06-26T05:56:15.4379674+00:00</ReverseTime>
<SettlementTransactiontId>2410186d-9922-4bce-a618-2a0c98ed9726</SettlementTransactiontId>
<ValueDate>2026-06-26T05:56:15.4379674+00:00</ValueDate>
</AccountTransaction>
</Reply>
</GetPaymentsRelatedToSettlementTransactionReply>