OfflineStatus
POST
/v2/Payment/OfflineStatusOfflineStatus retrieves a list of transactions that were processed offline on the terminal. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.
Body Parameters
PaymentType*
enumReferenceId*
stringTpn
stringRegisterId
stringAuthkey*
stringSPInProxyTimeout
numberCustomFields
objectPOST/v2/Payment/OfflineStatus
1curl --location 'https://test.spinpos.net/v2/Payment/OfflineStatus' \
2--header 'Content-Type: application/json' \
3--data '{
4 "PaymentType": "Credit",
5 "ReferenceId": "",
6 "Tpn": "",
7 "RegisterId": "",
8 "Authkey": "",
9 "SPInProxyTimeout": "",
10 "CustomFields": {}
11}'
Response
// Awaiting response…
Sample response
{
"Transactions": [
{
"TransactionDateTime": "",
"GeneralResponse": {
"HostResponseCode": "",
"HostResponseMessage": "",
"ResultCode": "0",
"StatusCode": "0000",
"Message": "",
"DetailedMessage": "",
"DelayBeforeNextRequest": null
},
"PaymentType": "Credit",
"TransactionType": "",
"Amounts": {
"TotalAmount": null,
"Amount": null,
"TipAmount": null,
"FeeAmount": null,
"TaxAmount": null
},
"AuthCode": "",
"ReferenceId": "",
"InvoiceNumber": "",
"SerialNumber": "",
"BatchNumber": "",
"TransactionNumber": "",
"Voided": false,
"Signature": "",
"IPosToken": "",
"Token": "",
"RRN": "",
"PNReferenceId": "",
"MerchantNumber": null,
"MerchantName": "",
"ExtendedDataByApplication": {},
"CardData": {
"CardType": "",
"EntryType": "",
"Last4": "",
"First4": "",
"BIN": "",
"ExpirationDate": "",
"Name": "",
"CardBrand": ""
},
"EMVData": {
"ApplicationName": "",
"AID": "",
"TVR": "",
"TSI": "",
"IAD": "",
"ARC": ""
},
"Receipts": {
"Customer": "",
"Merchant": ""
},
"L2L3ValidationError": {
"Description": "",
"PoNumber": "",
"PurchaseIdentifier": "",
"SummaryCommodityCode": "",
"LineItemCount": "",
"TaxAmount": "",
"Quantity": "",
"UnitOfMeasure": "",
"UnitCost": "",
"TaxRate": "",
"DiscountAmount": "",
"DebitCreditIndicator": "",
"ExtLineAmount": "",
"QuantityExpIndicator": "",
"UnitPriceDecimal": ""
},
"AutoRentalValidationError": {
"AdjustmentAmount": "",
"AdjustmentAuditIndicatorCode": "",
"AgreementReferenceNumber": "",
"PickupAddress": "",
"PickupCity": "",
"PickupCountry": "",
"PickupCountryCode": "",
"PickupDate": "",
"PickupLocation": "",
"PickupRegionCode": "",
"PickupState": "",
"RentalDistance": "",
"RentalDistanceUnitofMeasure": "",
"RentalDuration": "",
"RentalPeriod": "",
"RentalRate": "",
"RentalTime": "",
"ReturnAddress": "",
"ReturnDate": "",
"ReturnLocationId": "",
"ReturnRegionCode": "",
"ReturnStateCountry": "",
"ReturnTime": "",
"ServiceMobile": "",
"VehicleMake": "",
"VehicleModel": ""
}
}
],
"GeneralResponse": {
"ResultCode": "0",
"StatusCode": "0000",
"Message": "",
"DetailedMessage": "",
"DelayBeforeNextRequest": null
}
}