Visa AR Manager provides two main API workflows that work together to support comprehensive payment capabilities.
Making your first API call helps verify that your authentication is properly configured and that you can successfully communicate with the Visa AR Manager API. Visa recommends that you start with a simple status inquiry call to test your setup.
Before making your first API call, ensure you have completed the authentication setup and have access to the development environment.
For initial testing, the status inquiry endpoint is often easier to test as it requires fewer parameters.
VDP Sandbox base URL will be published once it's live.
For /varm/v1/paymentinfo, include required query parameters:
For POST /varm/v1/payment, prepare a JSON request body with:
For GET /varm/v1/paymentinfo, no request body is needed.
Ensure you:
After successfully making your first API call, you will have verified that your authentication is properly configured and that you can communicate with the Visa AR Manager API. The response will provide status information and confirm that your integration is working correctly.
Once you have successfully made your first API call, you can proceed to implement the specific workflows required for your application, such as payment and status inquiry.
Transmit virtual card details to an acquirer's designated payment gateway, acquirer, acquirer processor or VisaNet who can initiate transactions using the Visa AR Manager Payment API endpoint (/varm/v1/payment).
Before doing so, ensure you have valid client credentials configured for authentication.
The request ID must be a unique string (1-100 characters) and cannot be reused, even for correcting failed requests. This unique request identifier is essential for:
Include at least one of these identifiers:
For card payments (type: "CARD"), include:
After successful completion of the payment workflow, you will receive a response indicating the payment status. The response includes detailed status information and reason codes that help you understand the outcome and take appropriate next steps.
Use the request ID from the payment response to monitor transaction status through the status inquiry workflow. Implement appropriate business logic based on the payment results and maintain audit trails for compliance purposes.
Monitor and retrieve payment transaction status using the Visa AR Manager Status Inquiry API endpoint (/varm/v1/paymentinfo).
Before using the status inquiry workflow, ensure you have valid client credentials and request IDs from previous payment operations.
This unique identifier is required for retrieving status information and correlating transactions across systems.
Use pagination parameters when expecting large result sets to optimize performance.
https://[base-url]/varm/v1/paymentinfo?request_id=[request-id]&payment_id=[payment-id]&pageno=[page-number]
Ensure proper URL encoding for all query parameters.
A request body is not required for status inquiry operations.
After successful completion of the status inquiry workflow, you will have comprehensive information about payment status, including individual payment details and pagination information for large result sets. This information enables you to make informed decisions about payment handling and system updates.
Use the status information to update your internal systems, trigger business processes, and provide status updates to relevant stakeholders. Implement appropriate retry logic for pending payments and error handling for failed transactions.
Implementing these best practices will help ensure reliable, secure, and efficient integration with the Visa AR Manager APIs.