makePayment

This method will allow you to pay a booking using a valid credit card number and details.

Usage

You should use it when you wan to pay a booking with the end-customer / agency credit card and when you do not have any deposit on your account.

Response

The method will response with a confirmation / rejection reason, you should ticketBooking once done with this method.

📘

Important

Not all of AeroCRS hosted airlines support this feature.

❗️

Critical

Calling the makePayment with a valid post, will charge the total summary of the booking on the system, there is no option to select the charge amount.

Request parameters

Parameter

Type

Description

bookingid

Number*

The bookingid you got from createBooking

creditcardpayer

String*

The credit card holder name and last name

creditcardnumber

Number*

The credit card number

creditcardexpiry

Number*

The credit card expiry in 4 digits MMYY

creditcardcvv

Number

The credit card CVV

currency

String (Optional)

Currency ISO format (Example - USD)

transaction3ds

Boolean

true/false - 3DS transaction

params3ds

Object

Contain the 3DS parameters

eci

String

ECI - From 3DS Authentication

xid

String

XID - From 3DS Authentication

cavv

String

CAVV - From 3DS Authentication

enrolled

String

Enrolled

status_3d

String

Status 3D

version_3d

String

Version 3D

ismobilepayment

Boolean

true / false

mobileaction

String

Mobile action options/charge

mobile

Object

Contain the mobile parameters

mobiletype

String

MNO - Mobile Network Operator

mobilecountry

String

The country name of MNO

phonenumber

String

The phone number of the customer

❗️

* Mandatory parameters

🚧

Testing

For testing use this credit card number: 5326445577889977
You can only test "northair" test company

🚧

3DS Integration

Please not that before using 3DS integration, contact AeroCRS support to verify which airlines supported.

Mobile payments (AeroCRS Network)

Contact AeroCRS to provide payment notification URL for your integration in advance.
Mobile money payment notification

Response

The method will response with a confirmation / rejection reason, you should ticketBooking once done with this method.

Parameter

Type

Description

bookingid

Number

The booking ID

paymentstatus

String

The response:

OK - Confirmed

PN - Pending

XX - Rejected

paymentstatusexplanation

String

Free text of explanation

paymentoptions

Element

Include the MNO details

mobiletype

String

MNO - Mobile Network Operator

mobilecountry

String

The country name of MNO

instructions

String

Payment instructions

Language