Recurring Transaction API

The Sale API can be used for SI registration with action=SERVICE_POST_MPI_RECURRING.

📘

Note:

This API endpoint is same as Sale API, but with action=SERVICE_POST_MPI_RECURRING and transactionTypeCode=0. For more information, refer to Sale using Visa Card API.

Endpoint

Productionhttps://pginstance/saleservice/api/v1/sale
Testhttps://areionsbi.pc.enstage-sas.com/saleservice/api/v1/sale
Sample request
Response parameters
Parameter M/O/C Description Example

transactionId

M

Unique value generated for each transaction internally by the PG

123456

status

M

Transaction Status

50020 = SUCCESS

(any other value is a failure, full status codes shall be provided in appendix A)

pgErrorCode

M

PG Error Code

0 = No Error

(any other value means some kind of error, full error codes list shall be provided in appendix B)

pgErrorDetail

M

PG Error detail

pg error detail was not set

orderDesc

M

Brief description of items purchased. Len: 0-50 chars

Apple iPOD 20GB

merchantReferenceNo

M

Merchant reference number

AX143565

approvalCode

C

Approval code of Transaction

560252

rrn

O

RRN no for reference

104013006601

creditDebitCardFlag

O

Flag to say whether its credit card or debit card

‘C’ – Credit card ‘D’ – Debit Card ‘P’ – Prepaid Card

ext1

O

Same value will be sent back as pg has received from merchant in the request.

ext2

O

Same value will be sent back as pg has received from merchant in the request.

ext3

O

Same value will be sent back as pg has received from merchant in the request.

ext4

O

Same value will be sent back as pg has received from merchant in the request.

ext5

O

Same value will be sent back as pg has received from merchant in the request.

ext6

O

Same value will be sent back as pg has received from merchant in the request.

ext7

O

Same value will be sent back as pg has

received from merchant in the request

Sample response

Request parameters

Language
Click Try It! to start a request and see the response here!