docs.infrapay.infratel.co.zm Open in urlscan Pro
102.23.122.176  Public Scan

URL: https://docs.infrapay.infratel.co.zm/
Submission: On March 20 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

 * Home (current)

INFRAPAY CORE API

Overview

Endpoints
Ping

Operations

Payments

Schemas
ping

operations

payment

noAuth

powered by Stoplight



INFRAPAY CORE API

Export

v1.0.0
API Base URL

Production API server:https://{url}:{port}/api/{version}
protocol
string
Default:
https
url
string
Default:
localhost
port
string
Default:
3000
version
string
Default:
v2.0


Sandbox API server:https://{url}:{port}/api/{version}

Additional Information

Contact DevOps

INTRODUCTION


The INFRAPAY Core API Service is a multi-tenant payment gateway. The API allows
onboarding multiple tenants, with payment integration segmentations. Every
tenant on the platform can be onboarded on multiple payment options with
separate integration keys. These keys are to be submitted with every
transaction.

REQUESTS


Requests must be made over HTTPS to ensure transactions are encrypted. The
following Request methods are supported:

METHODUSAGEGETRetrieves data about collections and individual resources.POSTFor
collections, creates a new resource of that type. Also used to perform actions
on action endpoints.PUTUpdates an existing resource.DELETEDeletes a resource.
This is a destructive action.

RESPONSES


Actions will return one of the following HTTP response status codes:

STATUSDESCRIPTION100 Operation createdThe request is being processed in the
background.200 OKThe request was successful.204 No ContentThe server
successfully fulfilled the request and there is no additional content to
send.400 Bad RequestYou submitted an invalid request (missing parameters,
etc.).401 UnauthorizedYou failed to authenticate for this resource.403
ForbiddenYou are authenticated, but don't have permission to do this.404 Not
FoundThe resource you're requesting does not exist.422 Unprocessable EntityThe
client submitted malformed data429 Too Many RequestsYou've hit a rate limit.500
Internal Server ErrorSome went wrong on the server side.503 Unable to complete
requestThe server is overloaded or down for maintenance.

ERRORS


Success is indicated via Standard HTTP status codes. 2xx codes indicate success,
4xx codes indicate a request error, and 5xx errors indicate a server error. A
request error might be an invalid input, a required parameter being omitted, or
a malformed request. A server error means something went wrong processing your
request. If this occurs, please open a Support Ticket and let us know. Though
errors are logged and we work quickly to resolve issues, opening a ticket and
providing us with reproducable steps and data is always helpful.

The errors field is an array of the things that went wrong with your request. We
will try to include as many of the problems in the response as possible, but
it's conceivable that fixing these errors and resubmitting may result in new
errors coming back once we are able to get further along in the process of
handling your request.

Within each error object, the field parameter will be included if the error
pertains to a specific field in the JSON you've submitted. This will be omitted
if there is no relevant field. The reason is a human-readable explanation of the
error, and will always be included.

MTN


{
  "api_key": "2dabd4eff6404007af8efd19ea621161",
  "ocp_apim_subscription_Key": "40d9a6668b6d46fab08b78a8bb35270a",
  "x_reference_id": "c718599a-3441-48c3-8f18-d6b5242ee49b",
  "x_target_environment": "sandbox"
}


AIRTEL


{
  "interface_id": "47530",
  "msisdn2": "111111111",
  "biller_id": "111111111",
  "username": "username",
  "password": "password"
}


ZAMTEL


{
  "third_party_id": "ZNDC_CALLER",
  "password": "password",
  "receiver_identifier": "86325"
}


CARD


{
  "profile_id": "0312C8A3-CD1D-4CF5-93B7-EB16A431A72B",
  "access_key":"4dec579d0a2835198bbce53b5f3fecfc",
  "secret_key": "4241dd68942541428694a33d66849c4f88f5947cbd604abf8c424d2a8f710fe6d4a3564c9297419ea01007911577708986a87a9c982846b6bc0ccbb524de9d573eafbce564e848a99e176299e59ef1c602b9c1ff66204d949828bc726d751d929e4035e3744242da8e5dc56db155d9089325083bf8c5488d86c672125f8a1e52",
  "merchant_id":  "abz_example_0995369_zmw",
  "rest_api": "https://testsecureacceptance.cybersource.com/pay"
}


INFRATEL CORPORATIONS LTD © 2024