Payment Audit Service
Get Payment
Get the payment with the given id. This contains the payment history.
get/v4/paymentaudit/payments/{paymentId}
Path parameters
paymentIdstring uuid required
Payment Id
Query parameters
sensitiveboolean
Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
Response
200 response, request completed okay
Example response
{
"traceNumber": "abodu123",
"payout": {
"payoutId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"payoutFrom": {
"principal": "principal",
"principalId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"payorId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"dbaName": "dbaName",
"payorName": "payorName"
},
"payoutTo": {
"principal": "principal",
"principalId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"payorId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"dbaName": "dbaName",
"payorName": "payorName"
}
},
"paymentScheme": "paymentScheme",
"paymentId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"submittedDateTime": "2000-01-23T04:56:07.000+00:00",
"railsId": "asdf123",
"payeeId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"payorId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"railsRejectionInformation": "railsRejectionInformation",
"events": [
{
"eventId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"eventDateTime": "2000-01-23T04:56:07.000+00:00",
"accountName": "accountName",
"sourceCurrency": "EUR",
"eventType": "eventType",
"accountNumber": "accountNumber",
"paymentAmount": 1299,
"principal": "principal",
"routingNumber": "routingNumber",
"iban": "iban",
"scheduledFor": "2000-01-23T04:56:07.000+00:00",
"sourceAmount": 1299,
"scheduledBy": "Aphra Behn",
"paymentCurrency": "EUR",
"scheduledAt": "2000-01-23T04:56:07.000+00:00"
},
{
"eventId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"eventDateTime": "2000-01-23T04:56:07.000+00:00",
"accountName": "accountName",
"sourceCurrency": "EUR",
"eventType": "eventType",
"accountNumber": "accountNumber",
"paymentAmount": 1299,
"principal": "principal",
"routingNumber": "routingNumber",
"iban": "iban",
"scheduledFor": "2000-01-23T04:56:07.000+00:00",
"sourceAmount": 1299,
"scheduledBy": "Aphra Behn",
"paymentCurrency": "EUR",
"scheduledAt": "2000-01-23T04:56:07.000+00:00"
}
],
"transactionReference": "transactionReference",
"railsPaymentId": "railsPaymentId",
"payeeAddressCountryCode": "US",
"quoteId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"transactionId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"returnCost": 1232,
"withdrawnReason": "withdrawnReason",
"iban": "DE89 3704 0044 0532 0130 00",
"paymentMetadata": "sample metadata",
"payorPaymentId": "123123asdf",
"remoteSystemId": "REMOTE_SYSTEM_ID",
"paymentCurrency": "EUR",
"rejectionReason": "rejectionReason",
"paymentTrackingReference": "paymentTrackingReference",
"status": "status",
"postInstructFxInfo": {
"fxStatus": "INITIATED",
"fxStatusUpdatedAt": "2000-01-23T04:56:07.000+00:00",
"fxTransactionReference": "AB123GHI",
"fxMode": "MANUAL"
},
"accountName": "My Account Name",
"remoteSystemPaymentId": "remoteSystemPaymentId",
"sourceCurrency": "EUR",
"paymentMemo": "Payment memo",
"railsAccountId": "railsAccountId",
"paymentAmount": 7,
"fundingStatus": "fundingStatus",
"railsBatchId": "railsBatchId",
"paymentChannelName": "My Payment Channel",
"filenameReference": "file ref",
"rate": 9.301444243932576,
"countryCode": "US",
"returnReason": "Some Reason Value",
"withdrawable": true,
"autoWithdrawnReasonCode": "autoWithdrawnReasonCode",
"isPaymentCcyBaseCcy": true,
"sourceAmount": 12345,
"transmissionType": "transmissionType",
"payorName": "payorName",
"sourceAccountName": "My Account",
"paymentChannelId": "123asdf",
"invertedRate": 3.616076749251911,
"sourceAccountId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"individualIdentificationNumber": "1231231adf",
"accountNumber": "123123232323",
"transmissionTypeRequested": "transmissionTypeRequested",
"remoteId": "aasdf123",
"routingNumber": "123123123123",
"schedule": {
"scheduledFor": "2000-01-23T04:56:07.000+00:00",
"scheduleStatus": "SCHEDULED",
"notificationsEnabled": true,
"scheduledBy": "Aphra Behn",
"scheduledByPrincipalId": "8946953b-1e3b-49cf-9da4-b704cbb78f3e",
"scheduledAt": "2000-01-23T04:56:07.000+00:00"
}
}