OVO Sales

Cybersource
enables customers to make general purchases and purchases using Kredivo.
For all general purchases, use the required fields and any optional field you may want. If you are making a purchase using Kredivo, you must use the required fields and the additional relevant fields.

Airline Sales

For all airline related purchases, set the industry type to airline:
processingInformation.industryDataType
Set to
airline
.
If the purchase is airline related but not for a flight ticket, set the field value to
No
.
If the purchase is for a flight ticket, set the field value to
Yes
, and include the additional airline fields.

Kredivo Sales

For all purchases using Kredivo, set the payment type to
kredivo
:
paymentInformation.paymentType.method.type
You will also need to include the address and locality fields when using Kredivo as the payment type.

Endpoints

Production:
POST
https://api.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments

OVO Fields

Airline Fields

This field is required for all airline transactions.
These fields are required if
processingInformation.industryDataType=airline
is set to
Yes
.
travelInformation.transit.airline.flightType
travelInformation.transit.airline.reservationSystemCode
travelInformation.transit.airline.passengerType
travelInformation.transit.airline.legs[].departTaxAmount
travelInformation.transit.airline.totalInsuranceAmount
travelInformation.transit.airline.ticketIssuer.code
travelInformation.transit.airline.frequentFlyerNumber
Set to
AG
.

OVO Optional Field

paymentInformation.paymentType.method.type

Example: Requesting an OVO Sale Using the REST API

Light Dark
Request
1234567891011121314151617181920212223242526272829
{"clientReferenceInformation": { "code": "sale1077" }, "orderInformation": { "amountDetails": { "totalAmount": "1055", "currency": "EUR", "taxAmount": "900" }, "billTo":{ "country":"BE", "firstName":"Jane", "lastName":"Doe" } }, "paymentInformation": { "paymentType": { "name": "eWallet", "method": { "name": "payconiq" } } }, "merchantInformation": { "successUrl": "https://www.example.org/feedback.php", "merchantDescriptor": { "name": "DynDescriptor" } }}
Response to a Successful Request
12345678910111213141516
{"processorInformation": { "appUrl": "HTTPS://PAYCONIQ.COM/PAY/2/E072C100432F7985B1U39D39", "transactionId": "1169164990", "rawStatus": "PENDING", "paymentUrl": "https://r2.paygate.de/payconiq/S1147/I?tx=1169164990&rs=aFT6rrxK2NtgRR0IPSusq538I7Mn60v0&cs=a2347e6802ac046a256305544ac97dff3295e399b933fe084090c0530cf60ade" }, "paymentInformation": { "bank": { "iban": "LU9999999999" } }, "reconciliationId": "sale1077", "message": "Successful", "status": "PENDING", "id": "65233290191267436032965", "submitTimeUtc": "2022-06-06T06:55:11Z"}