Send a list of payments
POST /api/Payments
Use this endpoint to send a list of the payments you have made.
Request URL: https:// .../ api/Payments |
---|
Sample request
[
{
"id" : "7172dca0-3c2f-46e9-b512-6637e51c7172",
"amount" : 543.21,
"rail" : "marqeta",
"paymentAt" : "2021-05-20 13:47:21.128",
"network" : "visa"
}, {
"id" : "8988dca0-3c2f-46e9-b512-6637e51c8988",
"dolarAmount" : 3500,
"rail" : "marqeta",
"paymentAt" : "2021-05-20 13:47:21.128",
"network" : "visa"
}
]
The endpoint creates a requestId
and returns it in the response.
Important
All time entries must be UTC format. An example is 2021-05-20T19:19:22Z
Attributes | Description |
---|---|
id | A customer-generated unique ID. |
amount | The amount of the payment in USD. |
rail | Type of rail for payment. |
paymentAt | The actual time the payment was made which enables you to accurately calculate the money transaction. |
network | The network used to facilitate the payment. |
Sample response
{
"requestId" : "1461dca0-3c2f-46e9-b512-6637e51c1461"
}
Updated about 2 months ago
Did this page help you?