CardPay Agent
Pay any invoice with a virtual card
1curl https://api.mercoa.com/payment-gateway/validate/job_1a92b5f7-f522-435e-a953-fd649363730a \2 -H "Authorization: Bearer <token>"
1{2 "jobStatus": "success",3 "createdAt": "2024-01-01T00:00:00Z",4 "jobId": "pgv_8f86116b-3b4d-4ded-99ef-3bc929d8c33c",5 "updatedAt": "2024-01-01T00:00:00Z",6 "card": {7 "eligibility": "ACCEPTED",8 "fee": {9 "type": "percentage",10 "value": 2.511 }12 },13 "gatewayAmount": 155.5,14 "invoiceAmount": 150.75,15 "paymentGatewayUrl": "https://www.payment-gateway.com/invoice/pgv_8f86116b-3b4d-4ded-99ef-3bc929d8c33c",16 "vendorName": "Acme Corporation"17}
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>