Description and Details

This API is used to initiate a payment transaction. It allows third-party providers (TPPs) or internal services to submit a payment request on behalf of a user or system. Once initiated, the payment is queued for processing based on the request details such as payer, payee, amount, and payment type.


Endpoint

https://api-dev-isolution.xyz/paymentinitiation

Verb Method

POST


Headers Request Parameters

Header KeyValueDescription
Content-Typeapplication/jsonSpecifies the format of the request body
Acceptapplication/jsonIndicates expected response format
AuthorizationBearer {token}Required – Valid access token

Body Request Parameters
 

ParameterTypeRequiredDescription
payerAccountstringYesSource account number or ID
payeeAccountstringYesDestination account number or ID
amountstringYesAmount to be transferred
currencystringYesCurrency code (e.g., USD, PKR)
referencestringNoReference or note for the payment
paymentDatestringYesScheduled date of payment (ISO format)
paymentTypestringYesType of payment (e.g., IMMEDIATE)

Response Parameters

ParameterTypeDescription
paymentIdstringUnique identifier for the payment
statusstringStatus of the payment (e.g., PENDING)
messagestringDescription or confirmation message

HTTP Codes

CodeMeaning
200OK – Payment initiated successfully
400Bad Request – Invalid or missing parameters
401Unauthorized – Invalid or missing token
403Forbidden – Permission denied
500Internal Server Error