GET api/payouts/transactions

A collection of transactions that represent payouts transferred to participants of a referral program. This can be filtered by recipient or transactionId.

Request Information

URI Parameters

Query String: recipientId={recipientId}&transactionId={transactionId}

NameDescriptionTypeAdditional information
recipientId

The unique ID of the recipient of the payout transaction. Optional

string

None.

transactionId

The unique ID of the payout transaction. Optional.

string

None.

Body Parameters

None.

Response Information

Resource Description

[HTTP Status 200 - OK] A set of transactions

Type: PayoutTransactionSet

NameDescriptionTypeAdditional information
payoutTransactions

A list of payout transactions.

Collection of PayoutTransaction

None.

balance

The balance left in the account to fulfill pending payouts.

decimal number

None.

offset

Starting index (0 based) of the elements in the set.

integer

None.

total

Total number of elements in the set.

integer

None.

message

The message provides more information about the results of the client's request. Review this field for error information.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "offset": 2,
  "total": 3,
  "message": "sample string 4",
  "payoutTransactions": [
    {
      "id": "951e0761-1aa2-4cfb-b4fb-c0354a94b791",
      "transactionType": "sample string 2",
      "amount": 1.0,
      "createDate": "2024-04-19T06:25:31.3241852Z",
      "recipientId": "398ad41b-e920-4368-9d4d-cda28e99ca25",
      "transactionDestination": "sample string 4",
      "status": "sample string 5",
      "currencyCode": "sample string 6"
    },
    {
      "id": "951e0761-1aa2-4cfb-b4fb-c0354a94b791",
      "transactionType": "sample string 2",
      "amount": 1.0,
      "createDate": "2024-04-19T06:25:31.3241852Z",
      "recipientId": "398ad41b-e920-4368-9d4d-cda28e99ca25",
      "transactionDestination": "sample string 4",
      "status": "sample string 5",
      "currencyCode": "sample string 6"
    }
  ],
  "balance": 1.0
}

application/xml, text/xml

Sample:
<payoutTransactionSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReferralRock.Api.Models.Response">
  <offset xmlns="">2</offset>
  <total xmlns="">3</total>
  <message xmlns="">sample string 4</message>
  <payoutTransactions>
    <payoutTransaction xmlns="">
      <id>951e0761-1aa2-4cfb-b4fb-c0354a94b791</id>
      <transactionType>sample string 2</transactionType>
      <amount>1</amount>
      <createDate>2024-04-19T06:25:31.3241852+00:00</createDate>
      <recipientId>398ad41b-e920-4368-9d4d-cda28e99ca25</recipientId>
      <transactionDestination>sample string 4</transactionDestination>
      <status>sample string 5</status>
      <currencyCode>sample string 6</currencyCode>
    </payoutTransaction>
    <payoutTransaction xmlns="">
      <id>951e0761-1aa2-4cfb-b4fb-c0354a94b791</id>
      <transactionType>sample string 2</transactionType>
      <amount>1</amount>
      <createDate>2024-04-19T06:25:31.3241852+00:00</createDate>
      <recipientId>398ad41b-e920-4368-9d4d-cda28e99ca25</recipientId>
      <transactionDestination>sample string 4</transactionDestination>
      <status>sample string 5</status>
      <currencyCode>sample string 6</currencyCode>
    </payoutTransaction>
  </payoutTransactions>
  <balance>1</balance>
</payoutTransactionSet>