Request Parameters

API Reference: Pay By Link (PBL)

See the following sections for descriptions of Pay By Link (PBL) request parameters:

For PBL sample code, see Pay By Link (PBL).

payment_links

The payment_links array is required, and it can contain up to 20 objects.

Each object in this array contains the following:

NameRequirementFormatDescription
account_idRequiredNumberStorefront identifier number for the merchant in CellPoint Digital's echo system.
amountRequiredObjectSee amount, below.
client_idRequiredNumberMerchant identifier number in CellPoint Digital's echo system.
link_expiryRequiredObjectSee link_expiry, below.
order_summaryRequiredObjectSee order_summary, below.
payment_link_sourceRequiredNumberThe type identifier for the payment link. This value should be 2.

amount

Parent: payment_links

The amount object is required, and it contains the following name-value pairs:

NameRequirementFormat of valueDescription of value
country_idRequiredIntegerRepresents mpoint country_id.
currency_idRequiredIntegerRepresents mpoint currency_id.
decimalRequiredInteger‭The currency decimal of the transaction amount. For example, if the amount is $2660.71, then the value of decimal is 2.
valueRequiredIntegerThe original transaction amount without‬ decimal multiplied. For example, if decimal is 2, then $2660.71 is represented in value as 266071.

link_expiry

Parent: payment_links

The link_expiry object is required; it provides details about link expiration.

The link expiry object contains the following name-value pairs:

NameRequirementFormat of valueDescription of value
expiry_type_idRequiredIntegerA numeric identifier for the unit of time. Possible values:
  • 1 - minutes
  • 2 - hours
  • 3 - days
periodRequiredIntegerThe amount of time after which the link expires, measured in the unit defined in expiry_type_id.

order_summary

Parent: payment_links

The order_summary object is required; it provides order details such as the order identifier, products purchased, amount, currency, and invoice details.

The order_summary object contains the following:

NameRequirementFormatDescription
order_dataOptionalObjectSee order_data, below.
referenceRequiredStringOrder identifier provided by merchant.‬

order_data

Parents: payment_links: order_summary

Note the following:

  • The order_data object is optional for airline order data; it provides standard airline order data in JSON format.
  • If order_data is present, it must contain the order object, which provides standard airline order data for the passenger name record (PNR).‬
  • If order is present, it must contain the line_items object.
  • If line_items is present, it must contain at least one line_item array. It may contain multiple line_item arrays.

Each line_item array element may contain the following values:

NameRequirementFormatDescription
additional_dataOptionalObjectSee additional_data, below.

Applicable to airline order data.
amountConditional Requirement: Required in a line_item array element.IntegerThe amount charged for the line item, in the currency and format defined in payment_links: amount.

Applicable to airline order data.
fare_summaryOptionalObjectSee fare_summary, below.

Applicable to airline order data.
productOptionalObjectSee product, below.

Applicable to airline order data.

additional_data

Parents: payment_links: order_summary: order_data: order: line_items: line_item

Note the following:

  • The additional_data object in line_item is optional, and it contains the param array.
  • The param array provides additional parameters describing the line item.

Each element in the param array defines a parameter through name and text:

NameRequirementFormat of valueDescription of value
nameOptionalStringThe parameter name.

Applicable to airline order data.
textOptionalStringThe value of the parameter defined in name.

Applicable to airline order data.

fare_summary

Parents: payment_links: order_summary: order_data: order: line_items: line_item

The fare_summary object is optional; it provides fare information for airline transactions. It has the following name-value pairs:

NameRequirementFormat of valueDescription of value
base_fareOptionalIntegerThe base fare amount of the line item, in the currency described in currency.

Applicable to airline order data.
currencyOptionalStringThe currency of the line item.

Applicable to airline order data.
service_chargesOptionalIntegerThe amount of service charges for the line item, in the currency described in currency.

Applicable to airline order data.
taxes_feesOptionalIntegerThe amount of taxes and fees for the line item, in the currency described in currency.

Applicable to airline order data.

product

Parents: payment_links: order_summary: order_data: order: line_items: line_item

The product object is optional for airline order data, and it may contain the following:

NameRequirementFormatDescription
additional_dataOptionalObjectSee additional_data, below.

Applicable to airline order data.
airline_dataOptionalObjectSee airline_data, below.

Applicable to airline order data.
nameOptionalStringThe merchant-generated name of the line item.

Applicable to airline order data.
skuOptionalStringThe SKU of the line item.

Applicable to airline order data.

additional_data

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product

Note the following:

  • The additional_data object in product is optional, and it contains the param array.
  • The param array provides additional parameters describing the product.

Each element in the param array defines a parameter through name and text:

NameRequirementFormat of valueDescription of value
nameOptionalStringThe parameter name.

Applicable to airline order data.
textOptionalStringThe value of the parameter defined in name.

Applicable to airline order data.

airline_data

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product

The airline_data object is optional for airline order data, and it contains three objects: billing_summary, profiles, and trips. See their descriptions below.

billing_summary

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data

Note the following:

  • The billing_summary object is optional; it is applicable to airline order data.

  • The billing_summary object contains two objects: add_ons and fare_detail. See their descriptions below.

add_ons

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: billing_summary

Note the following:

  • The add_ons object is optional; it describes additional charges in airline order data.
  • The add_ons object contains the add_on array.

Each object in the add_on array describes an additional charge through the following name-value pairs:

NameRequirementFormat of valueDescription of value
amountOptionalIntegerThe amount of the additional charge, in the currency defined in currency.

Applicable to airline order data.
currencyOptionalStringThe currency of the additional charge.

Applicable to airline order data.
descriptionOptionalStringA description of the additional charge.

Applicable to airline order data.
product_categoryOptionalStringThe product category of the additional charge.

Applicable to airline order data.
product_codeOptionalStringThe product code of the additional charge.

Applicable to airline order data.
product_itemOptionalStringA description of the additional charge.

Applicable to airline order data.
profile_seqOptionalIntegerA numeric identifier for the profile assigned the additional charge. This is the seq value of the passenger in profiles.

Applicable to airline order data.
trip_seqOptionalIntegerA numeric identifier for the trip assigned the additional charge. This is the seq value of the trip in trips.

Applicable to airline order data.
trip_tagOptionalIntegerThe trip tag associated with the additional charge.

Applicable to airline order data.

fare_detail

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: billing_summary

Note the following:

  • The fare_detail object is optional; it is applicable to airline data.
  • The fare_detail object contains the fare array.
  • The fare array provides information on one or more airline fares.

Each element in the fare array describes an airline fare through the following name-value pairs:

NameRequirementFormat of valueDescription of value
amountOptionalIntegerThe amount of the fare, in the currency defined in currency.

Applicable to airline order data.
currencyOptionalStringThe currency of the fare amount.

Applicable to airline order data.
descriptionOptionalStringA description of the fare.

Applicable to airline order data.
product_categoryOptionalStringThe product category of the fare.

Applicable to airline order data.
product_codeOptionalStringThe product code of the fare.

Applicable to airline order data.
product_itemOptionalStringA description of the fare.

Applicable to airline order data.
profile_seqOptionalIntegerA numeric identifier for the profile assigned the fare. This is the seq value of the passenger in profiles.

Applicable to airline order data.

profiles

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data

Note the following:

  • The profiles object is optional; it provides passenger information for airline order data.
  • The profiles object contains the profile array.
  • profile is an array of profile information about one or more passengers.

Each object in the profile array provides profile information on one passenger through the following:

NameRequirementFormatDescription
contact_infoOptionalObjectSee contact_info, below.

Applicable to airline order data.
first_nameOptionalStringThe passenger's first name.

Applicable to airline order data.
last_nameOptionalStringThe passenger's last name.

Applicable to airline order data.
seqOptionalIntegerThe sequence number of the passenger in this order.

Applicable to airline order data.
typeOptionalStringThe passenger type, such as adult (ADT), child (CHD), or infant (INF). Find all possible values in Reference.

Applicable to airline order data.

contact_info

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: profiles: profile

Please note:

  • If the profile array is present, the contact_info object is required for one passenger.
  • The contact_info object provides contact details for the customer to whom the payment link is to be sent.

The contact_info object contains the following:

NameRequirementFormatDescription
emailConditional Requirement: Required if profile is present.StringThe email address of the customer to whom the payment link is to be sent.

Applicable to airline order data.
mobileConditional Requirement: Required if profile is present.ObjectSee mobile, below.

Applicable to airline order data.

mobile

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: profiles: profile: contact_info

The mobile object is required if profile is present; it describes the phone number of the customer to whom the payment link is to be sent through the following name-value pairs:

NameRequirementFormat of valueDescription of value
country_idConditional Requirement: Required if profile is present.IntegerThe country ID of the phone number defined in text.

Applicable to airline order data.
textConditional Requirement: Required if profile is present.IntegerThe contact phone number of the customer to whom the payment link is to be sent.

Applicable to airline order data.

trips

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data

Please note:

  • The trips object can contain multiple trip arrays.
  • Each trip array describes one trip in the journey.

Each element of a trip array may contain the following:

NameRequirementFormatDescription
additional_dataOptionalObjectSee additional_data, below.
arrival_timeOptionalString, in YYYY-MM-DDTHH:MM:SS formatThe arrival time in the destination time zone. (See destination.)

Applicable to airline order data.
booking_classOptionalStringThe booking class.

Applicable to airline order data.
departure_timeOptionalString, in YYYY-MM-DDTHH:MM:SS formatThe departure time in the origin time zone. (See origin.)

Applicable to airline order data.
destinationOptionalObjectSee destination, below.
originOptionalObjectSee origin, below.
seqOptionalIntegerThe sequence number of this trip in the journey.

Applicable to airline order data.
service_levelOptionalStringThe service level of this trip.

Applicable to airline order data.
tagOptionalIntegerThe tag associated with this trip.

Applicable to airline order data.
transportationOptionalObjectSee transportation, below.

Applicable to airline order data.

Applicable to airline order data.

additional_data

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: trips: trip

Note the following:

  • The additional_data object in trip is optional, and it contains the param array.

  • The param array provides additional parameters describing the trip.

Each element in the param array defines a parameter through name and text:

NameRequirementFormat of valueDescription of value
nameOptionalStringThe parameter name.

Applicable to airline order data.
textOptionalStringThe parameter value.

Applicable to airline order data.

destination

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: trips: trip

The destination object describes the trip destination by containing the following name-value pairs:

ElementRequirementFormat of text contentDescription of text content
country_idOptionalIntegerThe numeric ID for the trip destination's country.

Applicable to airline order data.
external_idOptionalStringA three-letter ID for the trip destination.

Applicable to airline order data.
textOptionalStringThe name or identifier for the trip destination.

Applicable to airline order data.
time_zoneOptionalStringThe time zone of the trip destination, expressed as GMT offset.

Applicable to airline order data.

origin

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: trips: trip

The origin object describes the trip's origin by containing the following name-value pairs:

ElementRequirementFormat of text contentDescription of text content
country_idOptionalIntegerThe numeric ID for the trip's country of origin.

Applicable to airline order data.
external_idOptionalStringA three-letter ID for the trip's origin.

Applicable to airline order data.
terminalOptionalStringThe terminal from which the trip originates.

Applicable to airline order data.
textOptionalStringThe name or identifier for the trip's origin.

Applicable to airline order data.
time_zoneOptionalStringThe time zone of the trip's origin, expressed as GMT offset.

Applicable to airline order data.

transportation

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: trips: trip

The transportation object is optional; it describes the transportation used for the trip. It has the following children:

NameRequirementFormatDescription
carriersOptionalObjectSee carriers, below.

Applicable to airline order data.
codeOptionalStringThe code of the airline carrier used for this trip.

Applicable to airline order data.
numberOptionalIntegerThe flight number of this trip.

Applicable to airline order data.

carriers

Parents: payment_links: order_summary: order_data: order: line_items: line_item: product: airline_data: trips: trip: transportation

Please note:

  • The carriers object is optional; it describes at least one airline carrier for a trip.
  • The carriers object contains the carrier array.

Each element in a carrier array provides information on the carrier used for one portion of a trip through the following name-value pairs:

ElementRequirementFormat of text contentDescription of text content
codeOptionalStringThe code of the airline carrier used for this portion of the trip.

Applicable to airline order data.
numberOptionalIntegerThe flight number of this portion of the trip.

Applicable to airline order data.
typeOptionalStringThe type of airplane for this portion of the trip.

Applicable to airline order data.