Last updated 2 years ago
20
GET /Payments HTTP/1.1 Host: Accept: */*
OK
{ "results": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-04-25T08:01:36.131Z", "scheduleDate": "2025-04-25T08:01:36.131Z", "handle": "text", "description": "text", "reference": "text", "amount": 1, "currency": "text", "test": true, "status": "Pending", "settlementDate": "2025-04-25T08:01:36.131Z", "createdAt": "2025-04-25T08:01:36.131Z", "modifiedAt": "2025-04-25T08:01:36.131Z" } ], "nextOffset": "text", "hasMore": true }
POST /Payments HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 128 { "mandate": "text", "currency": "text", "amount": 1, "description": "text", "reference": "text", "paymentDate": "2025-04-25T08:01:36.131Z" }
{ "id": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-04-25T08:01:36.131Z", "scheduleDate": "2025-04-25T08:01:36.131Z", "handle": "text", "description": "text", "reference": "text", "amount": 1, "currency": "text", "test": true, "status": "Pending", "statusText": "text", "settlementDate": "2025-04-25T08:01:36.131Z", "createdAt": "2025-04-25T08:01:36.131Z", "modifiedAt": "2025-04-25T08:01:36.131Z", "mandate": { "handle": "text", "scheme": "text", "status": "Created", "customerId": "123e4567-e89b-12d3-a456-426614174000" } }