logo
Trustly Docs
BETA

GetWithdrawals

Return details of a payout
Updated 1 month ago

This method returns the details of a payout (works for the Withdraw, AccountPayout, and Refund methods).

Request
{
  "method": "GetWithdrawals",
  "params": {
    "UUID": "cecf1a0e-31f7-0bed-b07f-481447584126",
    "Data": {
      "Username": "merchant_username",
      "Password": "merchant_password",
      "OrderID": "1436557899"
    },
    "Signature": "xszaGpj7o[...]pSSCCorOnNcoTJyQ=="
  },
  "version": "1.1"
}

The response is a list of details for the withdrawal.

Limitations for API method

This API method is meant to be used only in special cases when the status of a transaction needs to be investigated. It should not be used consistently for all payouts. Please do not use this method more than once every 15 minutes.


Response
{
  "result": {
    "uuid": "cecf1a0e-31f7-0bed-b07f-481447584126",
    "method": "GetWithdrawals",
    "data": [
      {
        "reference": "5000010000",
        "modificationdate": "2015-05-12 11:16:30.957975+02",
        "orderid": "1436557899",
        "datestamp": "2015-05-12 11:14:22.982842+02",
        "transferstate": "CONFIRMED",
        "amount": "1.00",
        "accountid": "1234567890",
        "currency": "SEK",
        "eta": "2015-05-12 12:00:00.000000+02"
      }
    ],
    "signature": "mIaoBEIsrE[...]VOzV3YCaXgvIM84FA=="
  },
  "version": "1.1"
}