Sign inBook a demo
  • Home
    • Introduction
    • How it Works
    • Integrating your BillPay / AP
  • Validate
    • GETFind Validation Jobs
    • POSTCreate Validation Job
    • GETGet Validation Job
  • Process
    • GETFind Process Jobs
    • POSTCreate Process Job
    • GETGet Process Job
  • Webhooks
    • POSTPayment Gateway Validation Job Completed
    • POSTPayment Gateway Process Job Completed
Logo
Sign inBook a demo
Validate

GET
https://api.mercoa.com/payment-gateway/validate/:jobId
GET
/payment-gateway/validate/:jobId
1curl https://api.mercoa.com/payment-gateway/validate/job_1a92b5f7-f522-435e-a953-fd649363730a \
2 -H "Authorization: Bearer <token>"
Try it
200Default
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.5
11 }
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}
Was this page helpful?
Previous

Find Process Jobs

Next
Built with
Get the status of a payment gateway validation job
Get Validation Job

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

jobIdstringRequired
The ID of the payment gateway validation job

Response

This endpoint returns an object.
pendingobject
OR
successobject
OR
failedobject

Errors