Skip to main content
POST
https://api.mpcvault.com
/
v1
/
getBatchPaymentDetails
curl -X POST https://api.mpcvault.com/v1/getBatchPaymentDetails \
  -H "Content-Type: application/json" \
  -H "x-mtoken: YOUR_API_TOKEN" \
  -d '{
    "uuid": "c3d4e5f6-a7b8-9012-cdef-gh3456789012"
  }'
{
  "batchPayment": {
    "uuid": "c3d4e5f6-a7b8-9012-cdef-gh3456789012",
    "name": "January Payroll",
    "notes": "Monthly salary distribution",
    "status": "COMPLETED",
    "signingRequests": [
      {
        "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "status": "COMPLETED",
        "txHash": "0x1234..."
      },
      {
        "uuid": "b2c3d4e5-f6a7-8901-bcde-fg2345678901",
        "status": "COMPLETED",
        "txHash": "0x5678..."
      }
    ],
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:35:00Z"
  }
}
Returns the details of a batch payment including the individual signing requests for each recipient.

Headers

x-mtoken
string
required
Your API token

Body

uuid
string
required
UUID of the batch payment

Response

batchPayment
object
The batch payment details
error
object
Error details (if failed)
curl -X POST https://api.mpcvault.com/v1/getBatchPaymentDetails \
  -H "Content-Type: application/json" \
  -H "x-mtoken: YOUR_API_TOKEN" \
  -d '{
    "uuid": "c3d4e5f6-a7b8-9012-cdef-gh3456789012"
  }'
{
  "batchPayment": {
    "uuid": "c3d4e5f6-a7b8-9012-cdef-gh3456789012",
    "name": "January Payroll",
    "notes": "Monthly salary distribution",
    "status": "COMPLETED",
    "signingRequests": [
      {
        "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "status": "COMPLETED",
        "txHash": "0x1234..."
      },
      {
        "uuid": "b2c3d4e5-f6a7-8901-bcde-fg2345678901",
        "status": "COMPLETED",
        "txHash": "0x5678..."
      }
    ],
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:35:00Z"
  }
}