v1

latestOpenAPI 3.0.2Apache License 2.02026-07-13109285691.8 KB
Payouts

Get Payout Summary

Get payout summary - returns the current state of the payout.

get/v3/payouts/{payoutId}

Path parameters

payoutIdstring uuid required

Id of the payout

Response

Details of Payout

payoutIdstring uuid

The id of the payout

statusstring

The status of the payout (one of SUBMITTED, ACCEPTED, REJECTED, QUOTED, INSTRUCTED, COMPLETED, INCOMPLETE, WITHDRAWN)

paymentsSubmittedinteger

The number of payments that were submitted in the payout

paymentsAcceptedinteger

The number of payments that were accepted in the payout

paymentsRejectedinteger

The number of payments that were rejected in the payout

paymentsWithdrawninteger required

The number of payments that were withdrawn in the payout

Example response

{
  "rejectedPayments": [
    {
      "currencyType": "USD",
      "reason": "The payee has not been onboarded",
      "amount": 10000,
      "paymentMetadata": "invoiceeId_123|abc001:12345|xyz002:4567",
      "payorPaymentId": "123211321ABSD",
      "reasonCode": "VE1012",
      "remoteSystemId": "OB012",
      "lineNumber": 34,
      "message": "Payment cannot be processed because of the Payee's OFAC or Compliance Status",
      "remoteId": "remoteIdVal123",
      "sourceAccountName": "Chase Bank Account"
    },
    {
      "currencyType": "USD",
      "reason": "The payee has not been onboarded",
      "amount": 10000,
      "paymentMetadata": "invoiceeId_123|abc001:12345|xyz002:4567",
      "payorPaymentId": "123211321ABSD",
      "reasonCode": "VE1012",
      "remoteSystemId": "OB012",
      "lineNumber": 34,
      "message": "Payment cannot be processed because of the Payee's OFAC or Compliance Status",
      "remoteId": "remoteIdVal123",
      "sourceAccountName": "Chase Bank Account"
    }
  ],
  "schedule": {
    "scheduledFor": "2000-01-23T04:56:07.000+00:00",
    "scheduleStatus": "SCHEDULED",
    "notificationsEnabled": true,
    "scheduledByPrincipalId": "8946953b-1e3b-49cf-9da4-b704cbb78f3e",
    "scheduledAt": "2000-01-23T04:56:07.000+00:00"
  },
  "paymentsRejected": 1,
  "paymentsSubmitted": 10,
  "paymentsWithdrawn": 0,
  "fxSummaries": [
    {
      "invertedRate": 1.12,
      "creationTime": "2022-10-30T09:45:09Z",
      "rate": 0.89,
      "expiryTime": "2022-10-30T09:50:09Z",
      "sourceCurrency": "USD",
      "totalPaymentAmount": 890000,
      "paymentCurrency": "USD",
      "quoteId": "af80d455-29dd-4e72-a000-495a9829a7d0",
      "totalSourceAmount": 1000000,
      "fundingStatus": "FUNDED",
      "status": "QUOTED"
    },
    {
      "invertedRate": 1.12,
      "creationTime": "2022-10-30T09:45:09Z",
      "rate": 0.89,
      "expiryTime": "2022-10-30T09:50:09Z",
      "sourceCurrency": "USD",
      "totalPaymentAmount": 890000,
      "paymentCurrency": "USD",
      "quoteId": "af80d455-29dd-4e72-a000-495a9829a7d0",
      "totalSourceAmount": 1000000,
      "fundingStatus": "FUNDED",
      "status": "QUOTED"
    }
  ],
  "accounts": [
    {
      "sourceAccountId": "cf81e490-4ab8-49c2-bd68-9d1e725480cb",
      "currency": "USD",
      "totalPayoutCost": 1000000,
      "sourceAccountName": "AccountName"
    },
    {
      "sourceAccountId": "cf81e490-4ab8-49c2-bd68-9d1e725480cb",
      "currency": "USD",
      "totalPayoutCost": 1000000,
      "sourceAccountName": "AccountName"
    }
  ],
  "payoutId": "cf81e490-4ab8-49c2-bd68-9d1e725480cb",
  "acceptedPayments": [
    {
      "currencyType": "USD",
      "amount": 10000,
      "paymentMetadata": "invoiceeId_123|abc001:12345|xyz002:4567",
      "payorPaymentId": "123211321ABSD",
      "railsId": "SVB",
      "paymentMemo": "INV00112",
      "remoteSystemId": "OB012",
      "remoteId": "remoteId1234",
      "sourceAccountName": "Chase Bank Account"
    },
    {
      "currencyType": "USD",
      "amount": 10000,
      "paymentMetadata": "invoiceeId_123|abc001:12345|xyz002:4567",
      "payorPaymentId": "123211321ABSD",
      "railsId": "SVB",
      "paymentMemo": "INV00112",
      "remoteSystemId": "OB012",
      "remoteId": "remoteId1234",
      "sourceAccountName": "Chase Bank Account"
    }
  ],
  "status": "COMPLETED",
  "paymentsAccepted": 9
}