The below request will be sent to the pre-defined endpoint provided to AeroCRS during the integration setup upon mobile money successful payment

{
    "aerocrs": {
        "paymentConfirmation": {
            "bookingid": 34877329,
            "pnrref": "2881C3C0",
            "amount": "1.0000",
            "currency": "USD"
        }
    }
}

Parameter

Type

Description

paymentConfirmation

Element

Include the PNR details

bookingid

Number

Booking ID

pnrref

String

The PNR reference

amount

Number

Amount paid

currency

String

Currency of payment

AeroCRS except the below response once the payment notification sent by AeroCRS recognized successfully

{
    "aerocrs": {
        "paymentConfirmation": {
            "paymentstatus": "OK"
        }
    }
}

Parameter

Type

Description

paymentConfirmation

Element

The element holds the payment status

paymentstatus

String

Payment status:

OK – confirmed