Step 3: find a payment batch
Since you've got a new payment batch, let's try retrieving the details using the following request.
Sample requestRequest structure
curl -i -X GET \
'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091&include=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'requestid: string' \
curl -i -X GET \
curl -i -X GET \
'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091&include=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'requestid: string' \
If your request is successful, you'll receive a 200
response.
Sample responseResponse structure
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"accountId": "string",
"name": "string",
"createdBy": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "person"
},
"product": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
},
"status": "draft",
"visible": true,
"visibleAt": "2019-08-24T14:15:22Z",
"confirmedBy": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "person"
},
"confirmedAt": "2019-08-24T14:15:22Z",
"passedMfaCheckAt": "2019-08-24T14:15:22Z",
"riskCheckedAt": "2019-08-24T14:15:22Z",
"ordersSentAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"alerts": [
{
"timestamp": "2019-08-24T14:15:22Z",
"type": "Error",
"code": "string",
"message": "string"
}
],
"ordersSummary": {
"numberOfOrders": 0,
"uniqueCurrencyCodes": [
"USD"
]
},
"input": {
"format": "csv",
"status": "accepted",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
{
"id": "string",
"accountId": "string",
"name": "string",
"createdBy": {
"id": "string",
"type": "string"
},
"product": {
"id": "string",
"name": "string"
},
"status": "string",
"visible": boolean,
"visibleAt": "string",
"confirmedBy": {
"id": "string",
"type": "string"
},
"confirmedAt": "string",
"passedMfaCheckAt": "string",
"riskCheckedAt": "string",
"ordersSentAt": "string",
"createdAt": "string",
"updatedAt": "string",
"alerts": [
{
"timestamp": "string",
"type": "string",
"code": "string",
"message": "string"
}
],
"ordersSummary": {
"numberOfOrders": number,
"uniqueCurrencyCodes": [
"string"
]
},
"input": {
"format": "string",
"status": "string",
"createdAt": "string",
"updatedAt": "string"
}
}