Retrieves payment run data and the processing result with details, if the data
field was specified in the Create payment run operation.
OK
{- "data": [
- {
- "accountId": "402881ed738ddf2001738def8db50058",
- "amount": 80,
- "amountCollected": 80,
- "amountToCollect": 80,
- "comment": "Comment1",
- "customField1__c": "cf_value1",
- "customField2__c": "cf_value2",
- "documentId": "402881ed738ddf2001738df388fd009e",
- "documentType": "Invoice",
- "paymentGatewayId": "402881ed738ddf2001738def8b630050",
- "paymentMethodId": "402881ed738ddf2001738def8e60005b",
- "result": "Processed",
- "transactions": [
- {
- "amount": 40,
- "appliedAmount": 40,
- "id": "402881ed738ddf2001738dfafad6012c",
- "status": "Processed",
- "type": "Payment"
}, - {
- "appliedAmount": 10,
- "id": "402881ed738ddf2001738df7572400e6",
- "type": "CreditMemo"
}, - {
- "appliedAmount": 30,
- "id": "402881ed738ddf2001738df715d800dd",
- "type": "UnappliedPayment"
}
]
}, - {
- "accountId": "402881ed738ddf2001738def8db50058",
- "amount": 70,
- "amountCollected": 70,
- "amountToCollect": 70,
- "comment": "Comment2",
- "customField1__c": "cf_value3",
- "customField2__c": "cf_value4",
- "documentId": "402881ed738ddf2001738df5b90a00c0",
- "documentType": "DebitMemo",
- "paymentGatewayId": "402881ed738ddf2001738def8b630050",
- "paymentMethodId": "402881ed738ddf2001738df97dbe00fe",
- "result": "Processed",
- "transactions": [
- {
- "amount": 70,
- "appliedAmount": 70,
- "id": "402881ed738ddf2001738dfafcbd013b",
- "status": "Processed",
- "type": "Payment"
}
]
}, - {
- "accountId": "c49b85cd8ba742edb5ab4b3da90fc4c0",
- "comment": "Comment3",
- "customField1__c": "cf_value5",
- "customField2__c": "cf_value6",
- "documentId": "7dab18d036dc4c94bbec853afb12affb",
- "documentType": "Invoice",
- "errorCode": "Invalid_Request_Data",
- "errorMessage": "Payment method is closed",
- "paymentGatewayId": "768929c2f51947e79e73703bfc9bca7d",
- "paymentMethodId": "1906df6f56f049c8b7457dc31f62d0ec",
- "result": "Error"
}
], - "success": true
}