Poynt API
Just install the Poynt Node.js SDK (GitHub) and you are ready to go!
npm install poynt --save
Just install the Poynt Python SDK (GitHub) and you are ready to go!
pip install poynt
Introduction
Poynt REST APIs provide applications an ability to integrate with Poynt Services in the cloud.
Standards
All of GoDaddy Poynt’s APIs are built using RESTful design patterns that are very common in the industry. In this page, you will find all the Services and Entities exposed as Resources that you can access through standard HTTP semantics. HTTP status codes are used to communicate the success/failures states, OAuth2.0 is used for API Authentication and Authorization, and HTTP methods are used to operate on the resources.
Please take note of the common patterns listed below that would help in simplifying your integration process.
Endpoint
All of our APIs can be accessed at:
https://services.poynt.net
.
HTTP Headers
All APIs should be invoked with the following standard HTTP headers unless otherwise specified:
Api-Version
- Must be1.2
Authorization
-Bearer <poynt-issued-access-token>
Content-Type
- Usuallyapplication/json
POYNT-REQUEST-ID
- Unique request id to enforce idempotency where appropriate (usually for POST requests)
HTTP Status Code
GoDaddy Poynt’s APIs return one or more of the following codes.
200
- The operation was successful.201
- Created, when a new resource is created.204
- No Content, usually returned after deleting a resource.400
- Bad Request401
- Unauthorized, due to invalid access token or authorization needed.403
- Forbidden404
- Not Found500
- Internal Server Error
Dates/Times
All date time values are in GMT and is formatted in ISO 8601 format
YYYY-MM-DDThh:mm:ssZ
.
Resource Updates
The HTTP PATCH method is used to allow updates to existing Resources
using json-patch as
the request payload. Currently only the add
,
remove
, and replace
operations are
supported.
Pagination
Pagination is controlled by five parameters for most GET collection APIs. These parameters determine the result set and allow you to paginate through them.
If-Modified-Since
header- ISO8601 Time to filters result by item’s last updated time.
startAt
query- ISO8601 Time to filters result by a specific start time.
startOffset
query- Integer offset from first item.
endAt
query- ISO8601 Time to filters result by a specific end time.
limit
query- Integer value 1 to 100 to limit the number of items returned. Default is 10.
Clients are encouraged to begin paging through a collection by
specifying the If-Modified-Since
header at the start of
their paging request. A limit
should also be specified to
control the number of returned items. If there are more items than can
be returned, a HATEOAS link will also be returned.
If, however, the client wishes to specify a specific time window,
they should use the startAt
/endAt
time window.
This time window will be used to filter items out based on the item’s
updatedAt
time. When startAt
is specified, the
server will ignore the If-Modified-Since
header. If no
endAt
time is specified, it is assumed to be up to the
latest time (now).
Clients should generally not need to use the startOffset
parameter. This parameter is used by the server to control the paging
range in the HATEOAS links that it generates.
Oauth
Poynt APIs are secured with OAuth 2.0 to allow merchants to share data with developer applications as appropriate. The Poynt OAuth2.0 authorization API consist of a single token resource (end point) where client applications can obtain access tokens that can be used to invoke all other APIs.
Definition
POST /token
Sample Request
curl -H "api-version:1.2" -d "grantType=urn:ietf:params:oauth:grant-type:jwt-bearer&assertion=MY.SELFSIGNED.JWT" https://services.poynt.net/token
curl -H "api-version:1.2" -H "Authorization: MY.SELFSIGNED.JWT" -d "grantType=PASSWORD&businessId=d4b4ec82-0b3a-49c9-8424-1a6c16e3562a&username=Kelly&password=1234" https://services.poynt.net/token
Sample Response
{
"expiresIn":900,
"accessToken":"POYNT.ISSUED.JWT",
"refreshToken":"REFRESH_TOKEN",
"scope":"ALL",
"tokenType":"BEARER"
}
Definition
In the Node.js SDK, token generation and refresh is done
automatically behind the scenes. Simply initialize the
poynt
service with your application ID and either a
filename or a string containing your PEM-encoded private key you
downloaded from Poynt.net:
var poynt = require('poynt')({
applicationId: 'urn:aid:your-application-id',
filename: __dirname + '/key.pem'
; })
or
var poynt = require('poynt')({
applicationId: 'urn:aid:your-application-id',
key: '-----BEGIN RSA PRIVATE KEY-----\n.....\n-----END RSA PRIVATE KEY-----'
; })
Definition
In the Python SDK, token generation and refresh is done
automatically, behind the scenes, and so you don’t have to worry about
it yourself. Simply initialize the poynt
service with your
application ID and either a filename or a string containing your
PEM-encoded private key you downloaded from Poynt.net:
import poynt
= 'urn:aid:your-application-id'
poynt.application_id = '/path/to/your/key.pem' poynt.filename
or
import poynt
= 'urn:aid:your-application-id'
poynt.application_id = '-----BEGIN RSA PRIVATE KEY-----\n.....\n-----END RSA PRIVATE KEY-----' poynt.key
Token
Generate an access token with either Json Web Token (JWT) bearer, password, or refresh token grant type.
The JWT bearer grant requires that the input grantType
form parameter be
urn:ietf:params:oauth:grant-type:jwt-bearer
as defined by
the JWT
Profile for OAuth 2.0 specification. A self-signed JWT token must be
provided by the client that is signed using the client’s private
key.
The password grant requires that a self-signed JWT token be provided
via the Authorization
http header in addition to the
business user’s businessId
, username
, and
password
.
Refresh token is also granted along with Access tokens to allow applications to refresh tokens that have expired. These tokens must always be stored securely by the applications.
Response
Returns a TokenResponse.
Payments
Orders
Orders resource represents a customer’s request to purchase one or more items (goods or services) from a business. As such an order contains details about all the items that we purchased, discounts applied and transactions that paid for the order. An order can be in Opened, Cancelled or Completed states. The only thing these states really tell is whether the order is active from the merchant’s perspective or not. An active order will be in Opened state. An order that the merchant is done with will be in Completed or Cancelled state. Similarly items have their own states (Ordered, Fulfilled and Returned) and transactions their own (see documentation for Transactions). Typically a merchant would want to keep the Order in Opened state until all items in the order have either been Fulfilled or Returned and all payments have been completed.
Definition
GET /businesses/{businessId}/orders
Sample Request
curl --location --request GET 'https://services.poynt.net/businesses/a3f24e9e-6764-42f2-bbcd-5541e7f3be38/orders' \
--header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json'
Sample Response
{
"links": [
{
"href": "/businesses/a3f24e9e-6764-42f2-bbcd-5541e7f3be38/orders?startAt=2022-04-27T18%3A05%3A47Z&endAt=2023-02-10T08%3A59%3A39Z",
"rel": "next",
"method": "GET"
}
],
"orders": [
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T04:28:09Z",
"updatedAt": "2022-04-14T04:28:09Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T04:28:02Z",
"updatedAt": "2022-04-14T04:28:02Z",
"id": 369327767,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T04:28:09Z",
"updatedAt": "2022-04-14T04:28:09Z",
"quantity": 1,
"id": 543,
"unitPrice": 2300,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T04:28:02Z",
"updatedAt": "2022-04-14T04:28:02Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T04:28:01Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369309072,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "6c08a9cc-b0f6-47a6-aa21-b1c85ab50a35"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "5384CD17",
"0x5F24": "231231",
"0x9F02": "000000002300",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "908e5ea6-750c-4ee0-a067-4c749308ce33",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369327767,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 2300,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "265403b5-0180-1000-3394-854eaade8985",
"approvalCode": "188879",
"batchId": "1",
"retrievalRefNum": "265403b5-0180-1000-3394-854eaade8985"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 2300,
"orderAmount": 2300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "AUTHORIZED",
"id": "265403b5-0180-1000-3394-854eaade8985"
}
],
"customerUserId": 369327767,
"amounts": {
"subTotal": 2300,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 2300,
"currency": "USD",
"authorizedTotals": {
"transactionFees": [],
"transactionAmount": 2300,
"orderAmount": 2300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "PENDING"
},
"notes": "",
"id": "908e5ea6-750c-4ee0-a067-4c749308ce33"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T20:31:23Z",
"updatedAt": "2022-04-14T20:32:22Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T20:31:06Z",
"updatedAt": "2022-04-14T20:31:06Z",
"id": 369458304,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T20:31:23Z",
"updatedAt": "2022-04-14T20:31:23Z",
"quantity": 1,
"id": 543,
"unitPrice": 2500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": true,
"amountsAdjusted": true,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T20:31:06Z",
"updatedAt": "2022-04-14T20:32:22Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T20:31:05Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369442365,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "885f6b75-5e8f-4933-a55d-cc53a8dda6e9"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "2F9BD81B",
"0x5F24": "231231",
"0x9F02": "000000002500",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "71241c6f-ff98-46b2-879f-1805596465ca",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "38caea72-3965-48af-9dfe-ab81145abe4e",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369458304,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 2500,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29c5b96d-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "219475",
"batchId": "1",
"retrievalRefNum": "29c5b96d-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 7500,
"orderAmount": 2500,
"tipAmount": 5000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29c5b96d-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-14T20:32:22Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369442365,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "885f6b75-5e8f-4933-a55d-cc53a8dda6e9"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "2F9BD81B",
"0x5F24": "231231",
"0x9F02": "000000002500",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "29c5b96d-0180-1000-d4b4-c6fb481f142d",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "38caea72-3965-48af-9dfe-ab81145abe4e",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369458304,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "71241c6f-ff98-46b2-879f-1805596465ca",
"approvalCode": "440928",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 7500,
"orderAmount": 2500,
"tipAmount": 5000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "71241c6f-ff98-46b2-879f-1805596465ca",
"parentId": "29c5b96d-0180-1000-d4b4-c6fb481f142d"
}
],
"customerUserId": 369458304,
"amounts": {
"subTotal": 2500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 2500,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 7500,
"orderAmount": 2500,
"tipAmount": 5000,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "",
"id": "38caea72-3965-48af-9dfe-ab81145abe4e"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T20:36:38Z",
"updatedAt": "2022-04-14T20:37:13Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T20:36:25Z",
"updatedAt": "2022-04-14T20:36:25Z",
"id": 369460286,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T20:36:38Z",
"updatedAt": "2022-04-14T20:36:38Z",
"quantity": 1,
"id": 543,
"unitPrice": 4000,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": true,
"amountsAdjusted": true,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T20:36:25Z",
"updatedAt": "2022-04-14T20:37:13Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T20:36:25Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369444391,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "3bf41a39-a5f3-4d2d-b660-70373e607556"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "402061F8",
"0x5F24": "231231",
"0x9F02": "000000004000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "89e33222-1319-4619-84e4-492a08789452",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "e34dff21-1226-4af2-a42b-ca15275bd9fa",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369460286,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 4000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29ca99f3-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "158881",
"batchId": "1",
"retrievalRefNum": "29ca99f3-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 5500,
"orderAmount": 4000,
"tipAmount": 1500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29ca99f3-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-14T20:37:13Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369444391,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "3bf41a39-a5f3-4d2d-b660-70373e607556"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "402061F8",
"0x5F24": "231231",
"0x9F02": "000000004000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "29ca99f3-0180-1000-d4b4-c6fb481f142d",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "e34dff21-1226-4af2-a42b-ca15275bd9fa",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369460286,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "89e33222-1319-4619-84e4-492a08789452",
"approvalCode": "503831",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 5500,
"orderAmount": 4000,
"tipAmount": 1500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "89e33222-1319-4619-84e4-492a08789452",
"parentId": "29ca99f3-0180-1000-d4b4-c6fb481f142d"
}
],
"customerUserId": 369460286,
"amounts": {
"subTotal": 4000,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 4000,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 5500,
"orderAmount": 4000,
"tipAmount": 1500,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "",
"id": "e34dff21-1226-4af2-a42b-ca15275bd9fa"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T21:10:57Z",
"updatedAt": "2022-04-14T21:11:29Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T21:10:55Z",
"updatedAt": "2022-04-14T21:10:55Z",
"id": 369473069,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T21:10:57Z",
"updatedAt": "2022-04-14T21:10:57Z",
"quantity": 1,
"id": 543,
"unitPrice": 5500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:10:55Z",
"updatedAt": "2022-04-14T21:11:29Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:10:54Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369457464,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "be92c1e4-2fdd-4b28-a2ab-57addb085115"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "8CF4ACD8",
"0x5F24": "231231",
"0x9F02": "000000008000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "96d6ec95-aae0-45a9-bf29-2735f460ee59",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "ca62c3bb-90aa-4563-bd69-f95d91287627",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369473069,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 8000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29ea2e4d-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "302550",
"batchId": "1",
"retrievalRefNum": "29ea2e4d-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 8000,
"orderAmount": 5500,
"tipAmount": 2500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29ea2e4d-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-14T21:11:29Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369457464,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "be92c1e4-2fdd-4b28-a2ab-57addb085115"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "8CF4ACD8",
"0x5F24": "231231",
"0x9F02": "000000008000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "29ea2e4d-0180-1000-d4b4-c6fb481f142d",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "ca62c3bb-90aa-4563-bd69-f95d91287627",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369473069,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "96d6ec95-aae0-45a9-bf29-2735f460ee59",
"approvalCode": "657116",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 8000,
"orderAmount": 5500,
"tipAmount": 2500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "96d6ec95-aae0-45a9-bf29-2735f460ee59",
"parentId": "29ea2e4d-0180-1000-d4b4-c6fb481f142d"
}
],
"customerUserId": 369473069,
"amounts": {
"subTotal": 5500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 5500,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 8000,
"orderAmount": 5500,
"tipAmount": 2500,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "",
"id": "ca62c3bb-90aa-4563-bd69-f95d91287627"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T21:12:31Z",
"updatedAt": "2022-04-14T21:12:31Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T21:12:29Z",
"updatedAt": "2022-04-14T21:12:29Z",
"id": 369473629,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T21:12:31Z",
"updatedAt": "2022-04-14T21:12:31Z",
"quantity": 1,
"id": 543,
"unitPrice": 6000,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:12:29Z",
"updatedAt": "2022-04-14T21:12:29Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:12:28Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369458037,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "831f298b-0622-4e2a-9ad5-3a7cfabbb565"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "060F6C27",
"0x5F24": "231231",
"0x9F02": "000000009000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "4de10d8c-94b0-40c1-a4c6-d1420a543963",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369473629,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 9000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29eb9e2e-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "528437",
"batchId": "1",
"retrievalRefNum": "29eb9e2e-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 9000,
"orderAmount": 6000,
"tipAmount": 3000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "AUTHORIZED",
"id": "29eb9e2e-0180-1000-d4b4-c6fb481f142d"
}
],
"customerUserId": 369473629,
"amounts": {
"subTotal": 6000,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 6000,
"currency": "USD",
"authorizedTotals": {
"transactionFees": [],
"transactionAmount": 9000,
"orderAmount": 6000,
"tipAmount": 3000,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "PENDING"
},
"notes": "",
"id": "4de10d8c-94b0-40c1-a4c6-d1420a543963"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-14T21:13:47Z",
"updatedAt": "2022-04-22T18:03:53Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-14T21:13:45Z",
"updatedAt": "2022-04-14T21:13:45Z",
"id": 369474054,
"emails": {},
"phones": {},
"firstName": "",
"lastName": ""
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-14T21:13:47Z",
"updatedAt": "2022-04-14T21:13:47Z",
"quantity": 1,
"id": 543,
"unitPrice": 2500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:13:45Z",
"updatedAt": "2022-04-22T18:03:53Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:13:44Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369458474,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "e39a4f40-73f3-40b7-896e-4c4263d2ebb0"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "49249314",
"0x5F24": "231231",
"0x9F02": "000000006500",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "89f9d20a-9b27-41f2-aea7-0c96939caaae",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "1800d850-34ea-4213-81d4-793dc640fe55",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369474054,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 6500,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29ecc5cf-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "687942",
"batchId": "1",
"retrievalRefNum": "29ecc5cf-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 6500,
"orderAmount": 2500,
"tipAmount": 4000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "REFUNDED",
"id": "29ecc5cf-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-14T21:13:57Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369458474,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "e39a4f40-73f3-40b7-896e-4c4263d2ebb0"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "49249314",
"0x5F24": "231231",
"0x9F02": "000000006500",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "5271d314-0180-1000-c2ea-a8a64c38d673",
"rel": "REFUND",
"method": "GET"
},
{
"href": "29ecc5cf-0180-1000-d4b4-c6fb481f142d",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "1800d850-34ea-4213-81d4-793dc640fe55",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369474054,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "89f9d20a-9b27-41f2-aea7-0c96939caaae",
"approvalCode": "233168",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionFees": [],
"transactionAmount": 6500,
"orderAmount": 2500,
"tipAmount": 4000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "REFUNDED",
"id": "89f9d20a-9b27-41f2-aea7-0c96939caaae",
"parentId": "29ecc5cf-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": false,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-22T18:03:53Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-22T18:03:52Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.services",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369458474,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "e39a4f40-73f3-40b7-896e-4c4263d2ebb0"
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "89f9d20a-9b27-41f2-aea7-0c96939caaae",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "1800d850-34ea-4213-81d4-793dc640fe55",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369474054,
"processorOptions": {},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "5271d314-0180-1000-c2ea-a8a64c38d673",
"approvalCode": "813158",
"batchId": "1"
},
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "REFUND",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 6500,
"orderAmount": 2500,
"tipAmount": 4000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "REFUNDED",
"id": "5271d314-0180-1000-c2ea-a8a64c38d673",
"parentId": "89f9d20a-9b27-41f2-aea7-0c96939caaae"
}
],
"customerUserId": 369474054,
"amounts": {
"subTotal": 2500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 2500,
"currency": "USD",
"refundedTotals": {
"transactionFees": [],
"transactionAmount": 6500,
"orderAmount": 2500,
"tipAmount": 4000,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "REFUNDED"
},
"notes": "",
"id": "1800d850-34ea-4213-81d4-793dc640fe55"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-27T18:03:13Z",
"updatedAt": "2022-04-27T18:03:14Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-27T18:03:03Z",
"updatedAt": "2022-04-27T18:03:03Z",
"id": 372348487,
"emails": {},
"phones": {},
"firstName": "KASTUREEMA",
"lastName": "SARMA"
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-27T18:03:13Z",
"updatedAt": "2022-04-27T18:03:13Z",
"quantity": 1,
"id": 12,
"unitPrice": 2500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "item1",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": false,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-27T18:03:03Z",
"updatedAt": "2022-04-27T18:03:14Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-27T18:03:02Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372381668,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "dde252ec-02f1-462d-9ea4-b61568006cea"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01BF",
"0x9F37": "384802E3",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03600000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "40",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "0CD6F292E998049C",
"0x5F24": "200731",
"0x9F02": "000000002500",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "ecb82bdc-f355-4f9d-8656-929d238c424f",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "112ea7d1-b821-4579-8afe-3112778596c0",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348487,
"processorOptions": {},
"processorResponse": {
"approvedAmount": 2500,
"emvTags": {
"0x8A": "3030",
"0x89": "454139324645"
},
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "6c30db9b-0180-1000-7603-9ebe5180647c",
"approvalCode": "870321",
"batchId": "1",
"retrievalRefNum": "6c30db9b-0180-1000-7603-9ebe5180647c"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 2500,
"orderAmount": 2500,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "6c30db9b-0180-1000-7603-9ebe5180647c"
},
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": false,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-27T18:03:14Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372381668,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "dde252ec-02f1-462d-9ea4-b61568006cea"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01BF",
"0x9F37": "384802E3",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03A00000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "80",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "3D95355535AEF88E",
"0x5F24": "200731",
"0x9F02": "000000002500",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "6c30db9b-0180-1000-7603-9ebe5180647c",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "112ea7d1-b821-4579-8afe-3112778596c0",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348487,
"processorOptions": {},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "ecb82bdc-f355-4f9d-8656-929d238c424f",
"approvalCode": "133128",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 2500,
"orderAmount": 2500,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "ecb82bdc-f355-4f9d-8656-929d238c424f",
"parentId": "6c30db9b-0180-1000-7603-9ebe5180647c"
}
],
"customerUserId": 372348487,
"amounts": {
"subTotal": 2500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 2500,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 2500,
"orderAmount": 2500,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "order notes",
"id": "112ea7d1-b821-4579-8afe-3112778596c0"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-27T18:03:44Z",
"updatedAt": "2022-04-27T18:03:50Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-27T18:03:38Z",
"updatedAt": "2022-04-27T18:03:38Z",
"id": 372348695,
"emails": {},
"phones": {},
"firstName": "KASTUREEMA",
"lastName": "SARMA"
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-27T18:03:44Z",
"updatedAt": "2022-04-27T18:03:44Z",
"quantity": 1,
"id": 543,
"unitPrice": 4300,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-27T18:03:38Z",
"updatedAt": "2022-04-27T18:03:50Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-27T18:03:38Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372381880,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "b19e3be7-138a-4dc5-a468-8b43b5ef8a49"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C0",
"0x9F37": "19886D6B",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03600000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "40",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "E6822924CDDAB441",
"0x5F24": "200731",
"0x9F02": "000000004300",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "7f1e5cc7-1dfa-4248-b7a2-3f9317b38a24",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "29198bfb-620b-41ca-940d-cae9fb415bcf",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348695,
"processorOptions": {},
"processorResponse": {
"approvedAmount": 4300,
"emvTags": {
"0x8A": "3030",
"0x89": "454139324645"
},
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "6c3166d4-0180-1000-7603-9ebe5180647c",
"approvalCode": "166143",
"batchId": "1",
"retrievalRefNum": "6c3166d4-0180-1000-7603-9ebe5180647c"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 4300,
"orderAmount": 4300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "6c3166d4-0180-1000-7603-9ebe5180647c"
},
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-27T18:03:50Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372381880,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "b19e3be7-138a-4dc5-a468-8b43b5ef8a49"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C0",
"0x9F37": "19886D6B",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03A00000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "80",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "124B9DAA8C1ED36F",
"0x5F24": "200731",
"0x9F02": "000000004300",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "6c3166d4-0180-1000-7603-9ebe5180647c",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "29198bfb-620b-41ca-940d-cae9fb415bcf",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348695,
"processorOptions": {},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "7f1e5cc7-1dfa-4248-b7a2-3f9317b38a24",
"approvalCode": "600024",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 4300,
"orderAmount": 4300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "7f1e5cc7-1dfa-4248-b7a2-3f9317b38a24",
"parentId": "6c3166d4-0180-1000-7603-9ebe5180647c"
}
],
"customerUserId": 372348695,
"amounts": {
"subTotal": 4300,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 4300,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 4300,
"orderAmount": 4300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "",
"id": "29198bfb-620b-41ca-940d-cae9fb415bcf"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-27T18:04:14Z",
"updatedAt": "2022-04-27T18:04:31Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-27T18:04:08Z",
"updatedAt": "2022-04-27T18:04:08Z",
"id": 372348900,
"emails": {},
"phones": {},
"firstName": "KASTUREEMA",
"lastName": "SARMA"
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-27T18:04:14Z",
"updatedAt": "2022-04-27T18:04:14Z",
"quantity": 1,
"id": 543,
"unitPrice": 4500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": true,
"amountsAdjusted": true,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-27T18:04:08Z",
"updatedAt": "2022-04-27T18:04:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-27T18:04:08Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372382095,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "ef0b39f1-116c-4295-9761-a2951314b156"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C1",
"0x9F37": "0EC12581",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03600000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "40",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "870DF41226E24EAC",
"0x5F24": "200731",
"0x9F02": "000000004500",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "6b0d6b3d-e9da-419a-937e-f18652a6cac1",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "8471f591-252b-4112-bae1-02288161911a",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348900,
"processorOptions": {},
"processorResponse": {
"approvedAmount": 4500,
"emvTags": {
"0x8A": "3030",
"0x89": "454139324645"
},
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "6c31dbef-0180-1000-7603-9ebe5180647c",
"approvalCode": "831188",
"batchId": "1",
"retrievalRefNum": "6c31dbef-0180-1000-7603-9ebe5180647c"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 5000,
"orderAmount": 4500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "6c31dbef-0180-1000-7603-9ebe5180647c"
},
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": true,
"reversalVoid": false,
"createdAt": "2022-04-27T18:04:31Z",
"updatedAt": "2022-05-11T23:47:31Z",
"context": {
"businessType": "TEST_MERCHANT",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372382095,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "ef0b39f1-116c-4295-9761-a2951314b156"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C1",
"0x9F37": "0EC12581",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03A00000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "80",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "0A384683B5A8DE88",
"0x5F24": "200731",
"0x9F02": "000000004500",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "6c31dbef-0180-1000-7603-9ebe5180647c",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "8471f591-252b-4112-bae1-02288161911a",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372348900,
"processorOptions": {},
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "6b0d6b3d-e9da-419a-937e-f18652a6cac1",
"approvalCode": "110271",
"batchId": "1"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "SETTLED",
"action": "CAPTURE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 5000,
"orderAmount": 4500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "6b0d6b3d-e9da-419a-937e-f18652a6cac1",
"parentId": "6c31dbef-0180-1000-7603-9ebe5180647c"
}
],
"customerUserId": 372348900,
"amounts": {
"subTotal": 4500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 4500,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 5000,
"orderAmount": 4500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
},
"notes": "",
"id": "8471f591-252b-4112-bae1-02288161911a"
},
{
"taxExempted": false,
"valid": true,
"accepted": false,
"createdAt": "2022-04-27T18:04:57Z",
"updatedAt": "2022-04-27T18:05:04Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"customer": {
"createdAt": "2022-04-27T18:04:52Z",
"updatedAt": "2022-04-27T18:04:52Z",
"id": 372349189,
"emails": {},
"phones": {},
"firstName": "KASTUREEMA",
"lastName": "SARMA"
},
"items": [
{
"taxExempted": false,
"createdAt": "2022-04-27T18:04:57Z",
"updatedAt": "2022-04-27T18:04:57Z",
"quantity": 1,
"id": 543,
"unitPrice": 5500,
"discount": 0,
"fee": 0,
"tax": 0,
"status": "ORDERED",
"name": "itemA",
"unitOfMeasure": "EACH"
}
],
"transactions": [
{
"signatureRequired": true,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": true,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-27T18:04:52Z",
"updatedAt": "2022-04-27T18:05:04Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-27T18:04:52Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372382389,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "4737022897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "d5d8f42c-84e5-49ef-8bb2-112604fb0cf1"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C2",
"0x9F37": "65C9902E",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03600000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "40",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "FC14EB2A11C5B560",
"0x5F24": "200731",
"0x9F02": "000000006000",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "ba5953f1-f637-4b2d-8639-4e2887d80d4c",
"rel": "REFUND",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "afc4a299-7f78-4c4c-964e-c481af333ee5",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372349189,
"processorOptions": {},
"processorResponse": {
"approvedAmount": 6000,
"emvTags": {
"0x8A": "3030",
"0x89": "454139324645"
},
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "6c3287cb-0180-1000-7603-9ebe5180647c",
"approvalCode": "373470",
"batchId": "1",
"retrievalRefNum": "6c3287cb-0180-1000-7603-9ebe5180647c"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 6000,
"orderAmount": 5500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "VOIDED",
"id": "6c3287cb-0180-1000-7603-9ebe5180647c"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": false,
"partiallyApproved": false,
"actionVoid": true,
"voided": true,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-27T18:05:04Z",
"updatedAt": "2022-04-27T18:05:04Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-27T18:05:03Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"mcc": "5812",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 7,
"expirationYear": 2020,
"id": 372382389,
"numberFirst6": "473702",
"numberLast4": "2897",
"numberMasked": "473702******2897",
"cardHolderFirstName": "KASTUREEMA",
"cardHolderLastName": "SARMA",
"cardHolderFullName": "SARMA/ KASTUREEMA",
"serviceCode": "201",
"cardId": "d5d8f42c-84e5-49ef-8bb2-112604fb0cf1"
},
"emvData": {
"emvTags": {
"0x5F34": "00",
"0x9F36": "01C2",
"0x9F37": "65C9902E",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F10": "06010A03600000",
"0x9F33": "E0F0C8",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x9F0E": "0000000000",
"0x82": "1800",
"0x9F0F": "FC70BC9800",
"0x9F0D": "FC50AC8800",
"0x9F09": "008C",
"0x9F07": "FF80",
"0x9F08": "0096",
"0x1F8231": "87",
"0x5F28": "0840",
"0x9F27": "40",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9B": "6800",
"0x9F03": "000000000000",
"0x9A": "220427",
"0x9F26": "FC14EB2A11C5B560",
"0x5F24": "200731",
"0x9F02": "000000006000",
"0x5F20": "5341524D412F204B415354555245454D41202020202020202020",
"0x95": "80C0008000",
"0x50": "56495341204445424954",
"0x9F1A": "0840"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "6c3287cb-0180-1000-7603-9ebe5180647c",
"rel": "AUTHORIZE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "afc4a299-7f78-4c4c-964e-c481af333ee5",
"type": "POYNT_ORDER"
}
],
"customerUserId": 372349189,
"processorResponse": {
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "ba5953f1-f637-4b2d-8639-4e2887d80d4c",
"approvalCode": "247998"
},
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "REFUND",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 6000,
"orderAmount": 5500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "VOIDED",
"id": "ba5953f1-f637-4b2d-8639-4e2887d80d4c",
"parentId": "6c3287cb-0180-1000-7603-9ebe5180647c"
}
],
"customerUserId": 372349189,
"amounts": {
"subTotal": 5500,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 0,
"netTotal": 5500,
"currency": "USD",
"voidedTotals": {
"transactionFees": [],
"transactionAmount": 6000,
"orderAmount": 5500,
"tipAmount": 500,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "NONE",
"status": "OPENED",
"transactionStatusSummary": "CANCELED"
},
"notes": "",
"id": "afc4a299-7f78-4c4c-964e-c481af333ee5"
}
],
"count": 95
}
Definition
.exports.getOrders = function getOrders(options, next) { ... }
module/**
* Get all orders at a business.
* @param {String} options.businessId
* @param {String} options.startAt (optional) - the time from which to start fetching orders
* @param {Integer} options.startOffset (optional)
* @param {String} options.endAt (optional) - the time at which to stop fetching orders
* @param {Integer} options.limit (optional) - the number of orders to fetch
* @param {String} options.cardNumberFirst6 (optional) - limit results to orders with transactions done by cards starting with these 6 numbers
* @param {String} options.cardNumberLast4 (optional) - limit results to orders with transactions done by cards ending with these 4 numbers
* @param {Integer} options.cardExpirationMonth (optional) - limit results to orders with transactions done by cards expiring in this month
* @param {Integer} options.cardExpirationYear (optional) - limit results to orders with transactions done by cards expiring in this year
* @param {String} options.cardHolderFirstName (optional) - limit results to orders with transactions done by cards with this card holder first name
* @param {String} options.cardHolderLastName (optional) - limit results to orders with transactions done by cards with this card holder last name
* @param {String} options.storeId (optional) - only fetch orders for this store
* @param {String} options.includeStaysAll (optional)
* @return {OrderList} orders
*/
Sample Request
.getOrders({
poyntbusinessId : '18f071cc-5ed4-4b33-80c1-305056d42bfb',
startOffset : 0,
limit : 1
, function (err, doc) {
}if (err) {
throw err;
}console.log(JSON.stringify(doc));
})
Sample Response
{"count": 1,
"links": [
{"href": "/businesses/18f071cc-5ed4-4b33-80c1-305056d42bfb/orders?startAt=2017-02-03T02%3A34%3A14Z&endAt=2017-08-28T06%3A26%3A45Z&limit=1",
"method": "GET",
"rel": "next"
},
]"orders": [
{"amounts": {
"capturedTotals": {
"cashbackAmount": 0,
"currency": "USD",
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"currency": "USD",
"discountTotal": 0,
"feeTotal": 0,
"netTotal": 625,
"subTotal": 625,
"taxTotal": 0
,
}"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"employeeUserId": 5247870,
"source": "INSTORE",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352",
"transactionInstruction": "NONE"
,
}"createdAt": "2017-02-03T01:40:21Z",
"customerUserId": 5249839,
"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"items": [
{"createdAt": "2017-02-03T01:40:21Z",
"discount": 0,
"fee": 0,
"id": 1,
"name": "water",
"productId": "f9faac3a-be56-4bff-b60b-84987cf021cb",
"quantity": 5,
"sku": "water",
"status": "FULFILLED",
"tax": 0,
"taxExempted": false,
"unitOfMeasure": "EACH",
"unitPrice": 125,
"updatedAt": "2017-02-03T01:40:21Z"
},
]"orderNumber": "4",
"statuses": {
"fulfillmentStatus": "FULFILLED",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
,
}"taxExempted": false,
"transactions": [
{"action": "AUTHORIZE",
"actionVoid": false,
"adjusted": true,
"amounts": {
"cashbackAmount": 0,
"currency": "USD",
"customerOptedNoTip": false,
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"amountsAdjusted": true,
"authOnly": false,
"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"businessType": "TEST_MERCHANT",
"employeeUserId": 5247870,
"mcc": "5812",
"source": "INSTORE",
"sourceApp": "co.poynt.services",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352",
"transmissionAtLocal": "2017-02-03T01:40:08Z"
,
}"createdAt": "2017-02-03T01:40:09Z",
"customerUserId": 5249839,
"fundingSource": {
"card": {
"cardHolderFirstName": "LAWRENCE",
"cardHolderFullName": "LUK/LAWRENCE",
"cardHolderLastName": "LUK",
"expirationDate": 31,
"expirationMonth": 8,
"expirationYear": 2019,
"id": 244219,
"numberFirst6": "414720",
"numberLast4": "4308",
"status": "ACTIVE",
"type": "VISA"
,
}"debit": false,
"emvData": {
"emvTags": {
"0x50": "5649534120435245444954",
"0x5F20": "4C554B2F4C415752454E434520",
"0x5F24": "190831",
"0x5F2A": "0840",
"0x5F34": "02",
"0x82": "3C00",
"0x84": "A0000000031010",
"0x95": "0080008000",
"0x9A": "170202",
"0x9B": "E800",
"0x9C": "00",
"0x9F02": "000000000625",
"0x9F03": "000000000000",
"0x9F06": "A0000000031010",
"0x9F10": "06010A03A0A802",
"0x9F12": "43484153452056495341",
"0x9F1A": "0840",
"0x9F26": "376393F3F6B156AA",
"0x9F27": "80",
"0x9F33": "E0F0C8",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F36": "0036",
"0x9F37": "94F3A4C5"
},
}"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
,
}"type": "CREDIT_DEBIT"
,
}"id": "624fbc0f-794c-4866-a211-0f5be53b8345",
"links": [
{"href": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c",
"method": "GET",
"rel": "CAPTURE"
},
]"partiallyApproved": false,
"pinCaptured": false,
"processorResponse": {
"acquirer": "CHASE_PAYMENTECH",
"approvalCode": "534216",
"approvedAmount": 625,
"batchId": "1",
"emvTags": {
"0x89": "454139324645",
"0x8A": "3030"
,
}"processor": "MOCK",
"retrievalRefNum": "624fbc0f-794c-4866-a211-0f5be53b8345",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "624fbc0f-794c-4866-a211-0f5be53b8345"
,
}"references": [
{"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"type": "POYNT_ORDER"
},
]"settled": false,
"signatureCaptured": true,
"signatureRequired": false,
"status": "CAPTURED",
"updatedAt": "2017-02-03T02:34:14Z",
"voided": false
,
}
{"action": "CAPTURE",
"actionVoid": false,
"adjusted": false,
"amounts": {
"cashbackAmount": 0,
"currency": "USD",
"customerOptedNoTip": false,
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"amountsAdjusted": false,
"authOnly": false,
"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"businessType": "TEST_MERCHANT",
"employeeUserId": 5247870,
"mcc": "5812",
"source": "INSTORE",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352"
,
}"createdAt": "2017-02-03T02:34:14Z",
"customerUserId": 5249839,
"fundingSource": {
"card": {
"cardHolderFirstName": "LAWRENCE",
"cardHolderFullName": "LUK/LAWRENCE",
"cardHolderLastName": "LUK",
"expirationDate": 31,
"expirationMonth": 8,
"expirationYear": 2019,
"id": 244219,
"numberFirst6": "414720",
"numberLast4": "4308",
"status": "ACTIVE",
"type": "VISA"
,
}"debit": false,
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
,
}"type": "CREDIT_DEBIT"
,
}"id": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c",
"links": [
{"href": "624fbc0f-794c-4866-a211-0f5be53b8345",
"method": "GET",
"rel": "AUTHORIZE"
},
]"parentId": "624fbc0f-794c-4866-a211-0f5be53b8345",
"partiallyApproved": false,
"pinCaptured": false,
"processorResponse": {
"acquirer": "CHASE_PAYMENTECH",
"approvalCode": "283042",
"batchId": "1",
"processor": "MOCK",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c"
,
}"references": [
{"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"type": "POYNT_ORDER"
},
]"settled": false,
"signatureCaptured": true,
"signatureRequired": false,
"status": "CAPTURED",
"updatedAt": "2017-02-03T02:34:14Z",
"voided": false
},
]"updatedAt": "2017-02-03T01:40:21Z"
}
] }
Definition
@classmethod
def get_orders(cls, business_id, start_at=None, start_offset=None,
=None, limit=None, card_number_first_6=None,
end_at=None, card_expiration_month=None,
card_number_last_4=None, card_holder_first_name=None,
card_expiration_year=None, store_id=None):
card_holder_last_name"""
Get all orders at a business by various criteria.
Arguments:
business_id (str): the business ID
Keyword arguments:
start_at (int, optional): get orders created after this time in seconds
start_offset (int, optional): the numeric offset to start the list (for pagination)
end_at (int, optional): get orders created before this time in seconds
limit (int, optional): how many orders to return (for pagination)
card_number_first_6 (str, optional): return orders with card numbers starting with this
card_number_last_4 (str, optional): return orders with card numbers ending with this
card_expiration_month (str, optional): return orders with this card expiration month
card_expiration_year (str, optional): return orders with this card expiration year
card_holder_first_name (str, optional): return orders with first name matching this
card_holder_last_name (str, optional): return orders with last name matching this
store_id (str, optional): return orders from this store
"""
Sample Request
= poynt.Order.get_orders(
doc, status_code '18f071cc-5ed4-4b33-80c1-305056d42bfb',
=0,
start_offset=1
limit
)
if status_code < 300:
print(doc)
Sample Response
u'count': 20, u'orders': [{u'transactions': [{u'status': u'CAPTURED', u'adjusted': True, u'links': [{u'href': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'method': u'GET', u'rel': u'CAPTURE'}], u'voided': False, u'fundingSource': {u'entryDetails': {u'customerPresenceStatus': u'PRESENT', u'entryMode': u'INTEGRATED_CIRCUIT_CARD'}, u'emvData': {u'emvTags': {u'0x5F34': u'02', u'0x9C': u'00', u'0x9B': u'E800', u'0x9F27': u'80', u'0x9F26': u'376393F3F6B156AA', u'0x9F03': u'000000000000', u'0x9F02': u'000000000625', u'0x9F06': u'A0000000031010', u'0x9F37': u'94F3A4C5', u'0x9A': u'170202', u'0x9F33': u'E0F0C8', u'0x84': u'A0000000031010', u'0x5F2A': u'0840', u'0x82': u'3C00', u'0x9F1A': u'0840', u'0x5F24': u'190831', u'0x9F36': u'0036', u'0x5F20': u'4C554B2F4C415752454E434520', u'0x9F34': u'5E0000', u'0x9F35': u'21', u'0x9F10': u'06010A03A0A802', u'0x9F12': u'43484153452056495341', u'0x50': u'5649534120435245444954', u'0x95': u'0080008000'}}, u'type': u'CREDIT_DEBIT', u'card': {u'status': u'ACTIVE', u'expirationMonth': 8, u'cardHolderFullName': u'LUK/LAWRENCE', u'cardHolderLastName': u'LUK', u'cardHolderFirstName': u'LAWRENCE', u'expirationYear': 2019, u'expirationDate': 31, u'numberLast4': u'4308', u'type': u'VISA', u'id': 244219, u'numberFirst6': u'414720'}, u'debit': False}, u'references': [{u'type': u'POYNT_ORDER', u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de'}], u'updatedAt': u'2017-02-03T02:34:14Z', u'processorResponse': {u'status': u'Successful', u'approvalCode': u'534216', u'retrievalRefNum': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'batchId': u'1', u'emvTags': {u'0x8A': u'3030', u'0x89': u'454139324645'}, u'statusMessage': u'Successful', u'approvedAmount': 625, u'transactionId': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'processor': u'MOCK', u'acquirer': u'CHASE_PAYMENTECH', u'statusCode': u'1'}, u'id': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'createdAt': u'2017-02-03T01:40:09Z', u'amounts': {u'tipAmount': 68, u'cashbackAmount': 0, u'currency': u'USD', u'customerOptedNoTip': False, u'orderAmount': 625, u'transactionAmount': 693}, u'customerUserId': 5249839, u'partiallyApproved': False, u'authOnly': False, u'amountsAdjusted': True, u'pinCaptured': False, u'signatureRequired': False, u'actionVoid': False, u'signatureCaptured': True, u'context': {u'businessType': u'TEST_MERCHANT', u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'mcc': u'5812', u'sourceApp': u'co.poynt.services', u'source': u'INSTORE', u'employeeUserId': 5247870, u'transmissionAtLocal': u'2017-02-03T01:40:08Z', u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652'}, u'action': u'AUTHORIZE', u'settled': False}, {u'status': u'CAPTURED', u'adjusted': False, u'links': [{u'href': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'method': u'GET', u'rel': u'AUTHORIZE'}], u'voided': False, u'fundingSource': {u'entryDetails': {u'customerPresenceStatus': u'PRESENT', u'entryMode': u'INTEGRATED_CIRCUIT_CARD'}, u'type': u'CREDIT_DEBIT', u'card': {u'status': u'ACTIVE', u'expirationMonth': 8, u'cardHolderFullName': u'LUK/LAWRENCE', u'cardHolderLastName': u'LUK', u'cardHolderFirstName': u'LAWRENCE', u'expirationYear': 2019, u'expirationDate': 31, u'numberLast4': u'4308', u'type': u'VISA', u'id': 244219, u'numberFirst6': u'414720'}, u'debit': False}, u'references': [{u'type': u'POYNT_ORDER', u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de'}], u'updatedAt': u'2017-02-03T02:34:14Z', u'processorResponse': {u'status': u'Successful', u'approvalCode': u'283042', u'batchId': u'1', u'acquirer': u'CHASE_PAYMENTECH', u'transactionId': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'processor': u'MOCK', u'statusMessage': u'Successful', u'statusCode': u'1'}, u'id': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'createdAt': u'2017-02-03T02:34:14Z', u'amounts': {u'tipAmount': 68, u'cashbackAmount': 0, u'currency': u'USD', u'customerOptedNoTip': False, u'orderAmount': 625, u'transactionAmount': 693}, u'customerUserId': 5249839, u'partiallyApproved': False, u'parentId': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'authOnly': False, u'amountsAdjusted': False, u'pinCaptured': False, u'signatureRequired': False, u'actionVoid': False, u'signatureCaptured': True, u'context': {u'businessType': u'TEST_MERCHANT', u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'mcc': u'5812', u'source': u'INSTORE', u'employeeUserId': 5247870, u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652'}, u'action': u'CAPTURE', u'settled': False}], u'amounts': {u'netTotal': 625, u'capturedTotals': {u'currency': u'USD', u'tipAmount': 68, u'transactionAmount': 693, u'cashbackAmount': 0, u'orderAmount': 625}, u'currency': u'USD', u'discountTotal': 0, u'feeTotal': 0, u'subTotal': 625, u'taxTotal': 0}, u'items': [{u'status': u'FULFILLED', u'sku': u'water', u'unitOfMeasure': u'EACH', u'fee': 0, u'name': u'water', u'tax': 0, u'discount': 0, u'updatedAt': u'2017-02-03T01:40:21Z', u'taxExempted': False, u'productId': u'f9faac3a-be56-4bff-b60b-84987cf021cb', u'unitPrice': 125, u'id': 1, u'createdAt': u'2017-02-03T01:40:21Z', u'quantity': 5.0}], u'customerUserId': 5249839, u'orderNumber': u'4', u'statuses': {u'status': u'OPENED', u'transactionStatusSummary': u'COMPLETED', u'fulfillmentStatus': u'FULFILLED'}, u'context': {u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'source': u'INSTORE', u'employeeUserId': 5247870, u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652', u'transactionInstruction': u'NONE'}, u'updatedAt': u'2017-02-03T01:40:21Z', u'taxExempted': False, u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de', u'createdAt': u'2017-02-03T01:40:21Z'}], u'links': [{u'href': u'/businesses/18f071cc-5ed4-4b33-80c1-305056d42bfb/orders?startAt=2017-02-03T02%3A34%3A14Z&endAt=2017-08-28T06%3A46%3A08Z&limit=1', u'method': u'GET', u'rel': u'next'}]} {
Get all orders
Get all orders that match the specified filters. If no filter is specified it will fetch all orders for the business since it started. We currently return 10 records at a time with a HATEOS link to the next 10. The following optional filters are supported:
- startTimeSec: the time from which to start fetching transactions,
- limit: the number of order to fetch,
- cardNumberFirst6: limit results to orders with transactions done by cards starting with these 6 numbers,
- cardNumberLast4: limit results to orders with transactions done by cards ending with these 4 numbers,
- cardExpirationMonth: limit results to orders with transactions done by cards expiring in this month,
- cardExpirationYear: limit results to orders with transactions done by cards expiring in this year,
- cardHolderFirstName: limit results to orders with transactions done by cards with this card holder first name,
- cardHolderLastName: limit results to orders with transactions done by cards with this card holder last name,
- storeId: only fetch transactions for this store.
- orderStatus: only fetch orders with the status.
- includeStaysAll: inlcude stay orders.
- includeOrderHistories: include order histories for orders.
- includeOrderShipments: include orderShipments for orders.
- customerUserId: filter orders placed by the customer.
Arguments
businessId
path- string (required)
If-Modified-Since
header- string (optional)
startAt
query- string (optional)
startOffset
query- integer (optional)
endAt
query- string (optional)
timeType
query- string (optional)
limit
query- integer (optional)
cardNumberFirst6
query- string (optional)
cardNumberLast4
query- string (optional)
cardExpirationMonth
query- integer (optional)
cardExpirationYear
query- integer (optional)
cardHolderFirstName
query- string (optional)
cardHolderLastName
query- string (optional)
storeId
query- string (optional)
orderNumber
query- string (optional)
orderStatus
query- string (optional)
includeStaysAll
query- boolean (optional)
includeOrderHistories
query- boolean (optional)
includeOrderShipments
query- boolean (optional)
customerUserId
query- integer (optional)
Response
Returns a OrderList.
Definition
GET /businesses/{businessId}/orders/{orderId}
Sample Request
curl --location --request GET 'https://services.poynt.net/businesses/a3f24e9e-6764-42f2-bbcd-5541e7f3be38/orders/36adbb38-0186-1000-7a36-d7c56ae9c66c' \
--header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json'
Sample Response
{
"taxExempted": false,
"valid": true,
"accepted": true,
"createdAt": "2023-02-09T14:57:19Z",
"updatedAt": "2023-02-09T14:57:19Z",
"context": {
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:5312e878-e1a2-3676-bd78-d04640310b02",
"sourceApp": "co.poynt.register",
"transactionInstruction": "NONE",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "89d82d45-5a56-4446-a04e-4340d417b841",
"channelId": "89d82d45-5a56-4446-a04e-4340d417b841"
},
"customer": {
"createdAt": "2023-02-09T14:57:10Z",
"updatedAt": "2023-02-09T14:57:10Z",
"id": 442274438,
"emails": {},
"phones": {}
},
"discounts": [],
"fees": [],
"orderHistories": [
{
"timestamp": "2023-02-09T14:57:19Z",
"id": 41801449,
"event": "ACCEPTED"
}
],
"items": [
{
"taxExempted": false,
"createdAt": "2023-02-09T14:57:19Z",
"updatedAt": "2023-02-09T14:57:19Z",
"quantity": 1,
"id": 1,
"discounts": [],
"fees": [],
"taxes": [
{
"taxExempted": false,
"catalogLevel": true,
"amountPrecision": 6,
"amount": 2000000,
"taxRateFixedAmount": 200,
"id": "e0e66ef1-ac18-40a5-a505-461dcc1c8a25",
"type": "custom"
}
],
"selectedVariants": [],
"unitPrice": 800,
"discount": 0,
"fee": 0,
"tax": 200,
"status": "FULFILLED",
"name": "New-Improved Cheetos!",
"productId": "35fac750-77be-4d8a-b20c-18621bffc038",
"sku": "SK-c368706a-b0b1-4de3-808a-f86e35ff5250",
"unitOfMeasure": "EACH"
},
{
"taxExempted": false,
"createdAt": "2023-02-09T14:57:19Z",
"updatedAt": "2023-02-09T14:57:19Z",
"quantity": 1,
"id": 2,
"discounts": [],
"fees": [],
"taxes": [
{
"taxExempted": false,
"catalogLevel": true,
"amountPrecision": 6,
"amount": 2000000,
"taxRateFixedAmount": 200,
"id": "e0e66ef1-ac18-40a5-a505-461dcc1c8a25",
"type": "custom"
}
],
"selectedVariants": [],
"unitPrice": 500,
"discount": 0,
"fee": 0,
"tax": 200,
"status": "FULFILLED",
"name": "Coffee",
"productId": "b584efda-8509-4183-b62c-dcdc933551fd",
"sku": "coffee",
"unitOfMeasure": "EACH"
}
],
"orderShipments": [
{
"address": {
"countryCode": "USA"
},
"createdAt": "2023-02-09T14:57:19Z",
"updatedAt": "2023-02-09T14:57:19Z",
"id": 55617784,
"deliveryMode": "FOR_HERE",
"status": "NONE",
"shipmentType": "FULFILLMENT"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": false,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2023-02-09T14:57:10Z",
"updatedAt": "2023-02-09T14:57:10Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2023-02-09T14:57:07Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:5312e878-e1a2-3676-bd78-d04640310b02",
"sourceApp": "co.poynt.register",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "89d82d45-5a56-4446-a04e-4340d417b841",
"channelId": "89d82d45-5a56-4446-a04e-4340d417b841"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2024,
"id": 442379758,
"numberFirst6": "441779",
"numberLast4": "1678",
"numberMasked": "441779******1678",
"cardId": "3fc78223-30b9-4152-9cc0-7fae6291cc8f"
},
"emvData": {
"emvTags": {
"0x9F36": "000C",
"0x5F34": "00",
"0x9F37": "7D82DA80",
"0x9F35": "22",
"0x9F10": "1F420132A0000000001003027300000000400000000000000000000000000000",
"0x9F33": "E0F0C8",
"0x4F": "A0000000031010",
"0x84": "A0000000031010",
"0x5F2A": "0840",
"0x82": "0040",
"0x9F6C": "0080",
"0x1F8231": "16",
"0x9F27": "80",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F03": "000000000000",
"0x9B": "0000",
"0x5F24": "241231",
"0x9F26": "580D5F6189497DEB",
"0x9A": "230209",
"0x9F01": "000000000000",
"0x9F02": "000000001700",
"0x9F24": "5630303130303135383230303331323632363337333232313336373630",
"0x9F66": "36804000",
"0x95": "0000000000",
"0x9F1A": "0840",
"0x8A": "3030"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_INTEGRATED_CIRCUIT_CARD"
},
"type": "CREDIT_DEBIT"
},
"references": [
{
"id": "36adbb38-0186-1000-7a36-d7c56ae9c66c",
"type": "POYNT_ORDER"
}
],
"customerUserId": 442274438,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 1700,
"emvTags": {
"0x8A": "3030",
"0x89": "454139324645"
},
"processor": "MOCK",
"acquirer": "ELAVON",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "36ae2285-0186-1000-1b52-368cbb5df3ed",
"approvalCode": "419763",
"batchId": "1",
"retrievalRefNum": "36ae2285-0186-1000-1b52-368cbb5df3ed"
},
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "SALE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 1700,
"orderAmount": 1700,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "36ae2285-0186-1000-1b52-368cbb5df3ed"
}
],
"customerUserId": 442274438,
"amounts": {
"subTotal": 1300,
"discountTotal": 0,
"feeTotal": 0,
"taxTotal": 400,
"netTotal": 1700,
"currency": "USD",
"capturedTotals": {
"transactionFees": [],
"transactionAmount": 1700,
"orderAmount": 1700,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
}
},
"statuses": {
"fulfillmentStatus": "FULFILLED",
"status": "COMPLETED",
"transactionStatusSummary": "COMPLETED"
},
"orderNumber": "2",
"id": "36adbb38-0186-1000-7a36-d7c56ae9c66c"
}
Definition
.exports.getOrders = function getOrders(options, next) { ... }
module/**
* Get all orders at a business.
* @param {String} options.businessId
* @param {String} options.startAt (optional) - the time from which to start fetching orders
* @param {Integer} options.startOffset (optional)
* @param {String} options.endAt (optional) - the time at which to stop fetching orders
* @param {Integer} options.limit (optional) - the number of orders to fetch
* @param {String} options.cardNumberFirst6 (optional) - limit results to orders with transactions done by cards starting with these 6 numbers
* @param {String} options.cardNumberLast4 (optional) - limit results to orders with transactions done by cards ending with these 4 numbers
* @param {Integer} options.cardExpirationMonth (optional) - limit results to orders with transactions done by cards expiring in this month
* @param {Integer} options.cardExpirationYear (optional) - limit results to orders with transactions done by cards expiring in this year
* @param {String} options.cardHolderFirstName (optional) - limit results to orders with transactions done by cards with this card holder first name
* @param {String} options.cardHolderLastName (optional) - limit results to orders with transactions done by cards with this card holder last name
* @param {String} options.storeId (optional) - only fetch orders for this store
* @param {String} options.includeStaysAll (optional)
* @return {OrderList} orders
*/
Sample Request
.getOrder({
poyntbusinessId : '18f071cc-5ed4-4b33-80c1-305056d42bfb',
orderId : '01a0c6f9-015a-1000-e3ce-bbbd758e32de'
, function (err, doc) {
}if (err) {
throw err;
}console.log(JSON.stringify(doc));
})
Sample Response
{"amounts": {
"capturedTotals": {
"cashbackAmount": 0,
"currency": "USD",
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"currency": "USD",
"discountTotal": 0,
"feeTotal": 0,
"netTotal": 625,
"subTotal": 625,
"taxTotal": 0
,
}"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"employeeUserId": 5247870,
"source": "INSTORE",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352",
"transactionInstruction": "NONE"
,
}"createdAt": "2017-02-03T01:40:21Z",
"customerUserId": 5249839,
"discounts": [],
"fees": [],
"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"items": [
{"createdAt": "2017-02-03T01:40:21Z",
"discount": 0,
"discounts": [],
"fee": 0,
"fees": [],
"id": 1,
"name": "water",
"productId": "f9faac3a-be56-4bff-b60b-84987cf021cb",
"quantity": 5,
"selectedVariants": [],
"sku": "water",
"status": "FULFILLED",
"tax": 0,
"taxExempted": false,
"taxes": [],
"unitOfMeasure": "EACH",
"unitPrice": 125,
"updatedAt": "2017-02-03T01:40:21Z"
},
]"orderNumber": "4",
"statuses": {
"fulfillmentStatus": "FULFILLED",
"status": "OPENED",
"transactionStatusSummary": "COMPLETED"
,
}"taxExempted": false,
"transactions": [
{"action": "AUTHORIZE",
"actionVoid": false,
"adjusted": true,
"amounts": {
"cashbackAmount": 0,
"currency": "USD",
"customerOptedNoTip": false,
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"amountsAdjusted": true,
"authOnly": false,
"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"businessType": "TEST_MERCHANT",
"employeeUserId": 5247870,
"mcc": "5812",
"source": "INSTORE",
"sourceApp": "co.poynt.services",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352",
"transmissionAtLocal": "2017-02-03T01:40:08Z"
,
}"createdAt": "2017-02-03T01:40:09Z",
"customerUserId": 5249839,
"fundingSource": {
"card": {
"cardHolderFirstName": "LAWRENCE",
"cardHolderFullName": "LUK/LAWRENCE",
"cardHolderLastName": "LUK",
"expirationDate": 31,
"expirationMonth": 8,
"expirationYear": 2019,
"id": 244219,
"numberFirst6": "414720",
"numberLast4": "4308",
"status": "ACTIVE",
"type": "VISA"
,
}"debit": false,
"emvData": {
"emvTags": {
"0x50": "5649534120435245444954",
"0x5F20": "4C554B2F4C415752454E434520",
"0x5F24": "190831",
"0x5F2A": "0840",
"0x5F34": "02",
"0x82": "3C00",
"0x84": "A0000000031010",
"0x95": "0080008000",
"0x9A": "170202",
"0x9B": "E800",
"0x9C": "00",
"0x9F02": "000000000625",
"0x9F03": "000000000000",
"0x9F06": "A0000000031010",
"0x9F10": "06010A03A0A802",
"0x9F12": "43484153452056495341",
"0x9F1A": "0840",
"0x9F26": "376393F3F6B156AA",
"0x9F27": "80",
"0x9F33": "E0F0C8",
"0x9F34": "5E0000",
"0x9F35": "21",
"0x9F36": "0036",
"0x9F37": "94F3A4C5"
},
}"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
,
}"type": "CREDIT_DEBIT"
,
}"id": "624fbc0f-794c-4866-a211-0f5be53b8345",
"links": [
{"href": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c",
"method": "GET",
"rel": "CAPTURE"
},
]"partiallyApproved": false,
"pinCaptured": false,
"processorResponse": {
"acquirer": "CHASE_PAYMENTECH",
"approvalCode": "534216",
"approvedAmount": 625,
"batchId": "1",
"emvTags": {
"0x89": "454139324645",
"0x8A": "3030"
,
}"processor": "MOCK",
"retrievalRefNum": "624fbc0f-794c-4866-a211-0f5be53b8345",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "624fbc0f-794c-4866-a211-0f5be53b8345"
,
}"references": [
{"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"type": "POYNT_ORDER"
},
]"settled": false,
"signatureCaptured": true,
"signatureRequired": false,
"status": "CAPTURED",
"updatedAt": "2017-02-03T02:34:14Z",
"voided": false
,
}
{"action": "CAPTURE",
"actionVoid": false,
"adjusted": false,
"amounts": {
"cashbackAmount": 0,
"currency": "USD",
"customerOptedNoTip": false,
"orderAmount": 625,
"tipAmount": 68,
"transactionAmount": 693
,
}"amountsAdjusted": false,
"authOnly": false,
"context": {
"businessId": "18f071cc-5ed4-4b33-80c1-305056d42bfb",
"businessType": "TEST_MERCHANT",
"employeeUserId": 5247870,
"mcc": "5812",
"source": "INSTORE",
"storeDeviceId": "urn:tid:48c54303-6d51-39af-bdeb-4af53f621652",
"storeId": "c394627f-4f68-47fb-90a5-684ea801a352"
,
}"createdAt": "2017-02-03T02:34:14Z",
"customerUserId": 5249839,
"fundingSource": {
"card": {
"cardHolderFirstName": "LAWRENCE",
"cardHolderFullName": "LUK/LAWRENCE",
"cardHolderLastName": "LUK",
"expirationDate": 31,
"expirationMonth": 8,
"expirationYear": 2019,
"id": 244219,
"numberFirst6": "414720",
"numberLast4": "4308",
"status": "ACTIVE",
"type": "VISA"
,
}"debit": false,
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "INTEGRATED_CIRCUIT_CARD"
,
}"type": "CREDIT_DEBIT"
,
}"id": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c",
"links": [
{"href": "624fbc0f-794c-4866-a211-0f5be53b8345",
"method": "GET",
"rel": "AUTHORIZE"
},
]"parentId": "624fbc0f-794c-4866-a211-0f5be53b8345",
"partiallyApproved": false,
"pinCaptured": false,
"processorResponse": {
"acquirer": "CHASE_PAYMENTECH",
"approvalCode": "283042",
"batchId": "1",
"processor": "MOCK",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "1b622bd1-c0db-4271-9fe1-4ed9fbf6610c"
,
}"references": [
{"id": "01a0c6f9-015a-1000-e3ce-bbbd758e32de",
"type": "POYNT_ORDER"
},
]"settled": false,
"signatureCaptured": true,
"signatureRequired": false,
"status": "CAPTURED",
"updatedAt": "2017-02-03T02:34:14Z",
"voided": false
},
]"updatedAt": "2017-02-03T01:40:21Z"
}
Definition
@classmethod
def get_orders(cls, business_id, start_at=None, start_offset=None,
=None, limit=None, card_number_first_6=None,
end_at=None, card_expiration_month=None,
card_number_last_4=None, card_holder_first_name=None,
card_expiration_year=None, store_id=None):
card_holder_last_name"""
Get all orders at a business by various criteria.
Arguments:
business_id (str): the business ID
Keyword arguments:
start_at (int, optional): get orders created after this time in seconds
start_offset (int, optional): the numeric offset to start the list (for pagination)
end_at (int, optional): get orders created before this time in seconds
limit (int, optional): how many orders to return (for pagination)
card_number_first_6 (str, optional): return orders with card numbers starting with this
card_number_last_4 (str, optional): return orders with card numbers ending with this
card_expiration_month (str, optional): return orders with this card expiration month
card_expiration_year (str, optional): return orders with this card expiration year
card_holder_first_name (str, optional): return orders with first name matching this
card_holder_last_name (str, optional): return orders with last name matching this
store_id (str, optional): return orders from this store
"""
Sample Request
= poynt.Order.get_order(
doc, status_code '18f071cc-5ed4-4b33-80c1-305056d42bfb',
'01a0c6f9-015a-1000-e3ce-bbbd758e32de'
)
if status_code < 300:
print(doc)
Sample Response
u'transactions': [{u'status': u'CAPTURED', u'adjusted': True, u'links': [{u'href': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'method': u'GET', u'rel': u'CAPTURE'}], u'voided': False, u'fundingSource': {u'entryDetails': {u'customerPresenceStatus': u'PRESENT', u'entryMode': u'INTEGRATED_CIRCUIT_CARD'}, u'emvData': {u'emvTags': {u'0x5F34': u'02', u'0x9C': u'00', u'0x9B': u'E800', u'0x9F27': u'80', u'0x9F26': u'376393F3F6B156AA', u'0x9F03': u'000000000000', u'0x9F02': u'000000000625', u'0x9F06': u'A0000000031010', u'0x9F37': u'94F3A4C5', u'0x9A': u'170202', u'0x9F33': u'E0F0C8', u'0x84': u'A0000000031010', u'0x5F2A': u'0840', u'0x82': u'3C00', u'0x9F1A': u'0840', u'0x5F24': u'190831', u'0x9F36': u'0036', u'0x5F20': u'4C554B2F4C415752454E434520', u'0x9F34': u'5E0000', u'0x9F35': u'21', u'0x9F10': u'06010A03A0A802', u'0x9F12': u'43484153452056495341', u'0x50': u'5649534120435245444954', u'0x95': u'0080008000'}}, u'type': u'CREDIT_DEBIT', u'card': {u'status': u'ACTIVE', u'expirationMonth': 8, u'cardHolderFullName': u'LUK/LAWRENCE', u'cardHolderLastName': u'LUK', u'cardHolderFirstName': u'LAWRENCE', u'expirationYear': 2019, u'expirationDate': 31, u'numberLast4': u'4308', u'type': u'VISA', u'id': 244219, u'numberFirst6': u'414720'}, u'debit': False}, u'references': [{u'type': u'POYNT_ORDER', u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de'}], u'updatedAt': u'2017-02-03T02:34:14Z', u'processorResponse': {u'status': u'Successful', u'approvalCode': u'534216', u'retrievalRefNum': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'batchId': u'1', u'emvTags': {u'0x8A': u'3030', u'0x89': u'454139324645'}, u'statusMessage': u'Successful', u'approvedAmount': 625, u'transactionId': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'processor': u'MOCK', u'acquirer': u'CHASE_PAYMENTECH', u'statusCode': u'1'}, u'id': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'createdAt': u'2017-02-03T01:40:09Z', u'amounts': {u'tipAmount': 68, u'cashbackAmount': 0, u'currency': u'USD', u'customerOptedNoTip': False, u'orderAmount': 625, u'transactionAmount': 693}, u'customerUserId': 5249839, u'partiallyApproved': False, u'authOnly': False, u'amountsAdjusted': True, u'pinCaptured': False, u'signatureRequired': False, u'actionVoid': False, u'signatureCaptured': True, u'context': {u'businessType': u'TEST_MERCHANT', u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'mcc': u'5812', u'sourceApp': u'co.poynt.services', u'source': u'INSTORE', u'employeeUserId': 5247870, u'transmissionAtLocal': u'2017-02-03T01:40:08Z', u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652'}, u'action': u'AUTHORIZE', u'settled': False}, {u'status': u'CAPTURED', u'adjusted': False, u'links': [{u'href': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'method': u'GET', u'rel': u'AUTHORIZE'}], u'voided': False, u'fundingSource': {u'entryDetails': {u'customerPresenceStatus': u'PRESENT', u'entryMode': u'INTEGRATED_CIRCUIT_CARD'}, u'type': u'CREDIT_DEBIT', u'card': {u'status': u'ACTIVE', u'expirationMonth': 8, u'cardHolderFullName': u'LUK/LAWRENCE', u'cardHolderLastName': u'LUK', u'cardHolderFirstName': u'LAWRENCE', u'expirationYear': 2019, u'expirationDate': 31, u'numberLast4': u'4308', u'type': u'VISA', u'id': 244219, u'numberFirst6': u'414720'}, u'debit': False}, u'references': [{u'type': u'POYNT_ORDER', u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de'}], u'updatedAt': u'2017-02-03T02:34:14Z', u'processorResponse': {u'status': u'Successful', u'approvalCode': u'283042', u'batchId': u'1', u'acquirer': u'CHASE_PAYMENTECH', u'transactionId': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'processor': u'MOCK', u'statusMessage': u'Successful', u'statusCode': u'1'}, u'id': u'1b622bd1-c0db-4271-9fe1-4ed9fbf6610c', u'createdAt': u'2017-02-03T02:34:14Z', u'amounts': {u'tipAmount': 68, u'cashbackAmount': 0, u'currency': u'USD', u'customerOptedNoTip': False, u'orderAmount': 625, u'transactionAmount': 693}, u'customerUserId': 5249839, u'partiallyApproved': False, u'parentId': u'624fbc0f-794c-4866-a211-0f5be53b8345', u'authOnly': False, u'amountsAdjusted': False, u'pinCaptured': False, u'signatureRequired': False, u'actionVoid': False, u'signatureCaptured': True, u'context': {u'businessType': u'TEST_MERCHANT', u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'mcc': u'5812', u'source': u'INSTORE', u'employeeUserId': 5247870, u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652'}, u'action': u'CAPTURE', u'settled': False}], u'amounts': {u'netTotal': 625, u'capturedTotals': {u'currency': u'USD', u'tipAmount': 68, u'transactionAmount': 693, u'cashbackAmount': 0, u'orderAmount': 625}, u'currency': u'USD', u'discountTotal': 0, u'feeTotal': 0, u'subTotal': 625, u'taxTotal': 0}, u'items': [{u'status': u'FULFILLED', u'sku': u'water', u'unitOfMeasure': u'EACH', u'fee': 0, u'name': u'water', u'discount': 0, u'selectedVariants': [], u'fees': [], u'tax': 0, u'taxes': [], u'discounts': [], u'updatedAt': u'2017-02-03T01:40:21Z', u'taxExempted': False, u'productId': u'f9faac3a-be56-4bff-b60b-84987cf021cb', u'unitPrice': 125, u'id': 1, u'createdAt': u'2017-02-03T01:40:21Z', u'quantity': 5.0}], u'updatedAt': u'2017-02-03T01:40:21Z', u'customerUserId': 5249839, u'orderNumber': u'4', u'discounts': [], u'statuses': {u'status': u'OPENED', u'transactionStatusSummary': u'COMPLETED', u'fulfillmentStatus': u'FULFILLED'}, u'context': {u'businessId': u'18f071cc-5ed4-4b33-80c1-305056d42bfb', u'storeId': u'c394627f-4f68-47fb-90a5-684ea801a352', u'source': u'INSTORE', u'employeeUserId': 5247870, u'storeDeviceId': u'urn:tid:48c54303-6d51-39af-bdeb-4af53f621652', u'transactionInstruction': u'NONE'}, u'fees': [], u'taxExempted': False, u'id': u'01a0c6f9-015a-1000-e3ce-bbbd758e32de', u'createdAt': u'2017-02-03T01:40:21Z'} {
Get an order
Get an order (along with HATEOS links to all immediately related orders).
Arguments
If-Modified-Since
header- string (optional)
businessId
path- string (required)
orderId
path- string (required)
Response
Returns a Order.
Definition
GET /businesses/{businessId}/orders/{orderId}/shipments
Sample Request
TODO: Add request
Sample Response
TODO: Add response
Get order shipments
Get all order shipments for a given order.
Arguments
businessId
path- string (required)
orderId
path- string (required)
Response
Returns a array.
Definition
GET /businesses/{businessId}/orders/{orderId}/histories
Sample Request
TODO: Add request
Sample Response
TODO: Add response
Get order history events
Get all order history events for a given order.
Arguments
businessId
path- string (required)
orderId
path- string (required)
Response
Returns a array.
Definition
PUT /businesses/{businessId}/orders/{orderId}
Sample Request
TODO: Add request
Sample Response
TODO: Add response
Definition
This method is currently not possible using the Node.js SDK.
Definition
This method is currently not possible using the Python SDK.
Record order
Record an order that has already happened. A full order object must be populated as this operation will simply record what is passed to it.
Arguments
Poynt-Request-Id
header- string (required)
businessId
path- string (required)
orderId
path- string (required)
order
body- Order (optional)
Response
Returns a Order.
Definition
PATCH /businesses/{businessId}/orders/{orderId}
Sample Request
TODO: Add request
Sample Response
TODO: Add response
Definition
This method is currently not possible using the Node.js SDK.
Definition
This method is currently not possible using the Python SDK.
Update order
Update an order. This takes a JsonPatch object as request. We allow updates to order level amounts and replace on /items and /discounts.
Arguments
Poynt-Request-Id
header- string (required)
businessId
path- string (required)
orderId
path- string (required)
patch
body- JsonPatch (optional)
Response
Returns a Order.
Transactions
Transactions resource represents a financial transaction. It has operations to manage the entire lifecycle of a transaction initiated through MSR, manual key-in, NFC or EMV. It provides operations to:
- save a transaction at the Poynt server for later processing,
- record a transaction that has already happened – maybe offline or through some other path with the acquirer,
- initiate interaction with the acquirer to move funds (for a previously saved transaction or a brand new transaction),
- capture, void or update a previously authorized transaction,
- refund a previously completed transaction,
- record EMV tags associated with an authorized transaction or
- get details about all transactions meeting a certain filter criteria.
Definition
GET /businesses/{businessId}/transactions
Sample Request
curl --location --request GET 'https://services.poynt.net/businesses/a3f24e9e-6764-42f2-bbcd-5541e7f3be38/transactions' \ --header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json'
Sample Response
{
"links": [
{
"href": "/businesses/a3f24e9e-6764-42f2-bbcd-5541e7f3be38/transactions?startAt=2022-04-27T18%3A05%3A04Z&endAt=2023-02-10T09%3A08%3A53Z&startOffset=1",
"rel": "next",
"method": "GET"
}
],
"transactions": [
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T04:28:02Z",
"updatedAt": "2022-04-14T04:28:02Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T04:28:01Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369309072,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "6c08a9cc-b0f6-47a6-aa21-b1c85ab50a35"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "5384CD17",
"0x5F24": "231231",
"0x9F02": "000000002300",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "908e5ea6-750c-4ee0-a067-4c749308ce33",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369327767,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 2300,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "265403b5-0180-1000-3394-854eaade8985",
"approvalCode": "188879",
"batchId": "1",
"retrievalRefNum": "265403b5-0180-1000-3394-854eaade8985"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 2300,
"orderAmount": 2300,
"tipAmount": 0,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "AUTHORIZED",
"id": "265403b5-0180-1000-3394-854eaade8985"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": true,
"amountsAdjusted": true,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T20:31:06Z",
"updatedAt": "2022-04-14T20:32:22Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T20:31:05Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369442365,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "885f6b75-5e8f-4933-a55d-cc53a8dda6e9"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "2F9BD81B",
"0x5F24": "231231",
"0x9F02": "000000002500",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "71241c6f-ff98-46b2-879f-1805596465ca",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "38caea72-3965-48af-9dfe-ab81145abe4e",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369458304,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 2500,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29c5b96d-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "219475",
"batchId": "1",
"retrievalRefNum": "29c5b96d-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 7500,
"orderAmount": 2500,
"tipAmount": 5000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29c5b96d-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": true,
"amountsAdjusted": true,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T20:36:25Z",
"updatedAt": "2022-04-14T20:37:13Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T20:36:25Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369444391,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "3bf41a39-a5f3-4d2d-b660-70373e607556"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "402061F8",
"0x5F24": "231231",
"0x9F02": "000000004000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "89e33222-1319-4619-84e4-492a08789452",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "e34dff21-1226-4af2-a42b-ca15275bd9fa",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369460286,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 4000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29ca99f3-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "158881",
"batchId": "1",
"retrievalRefNum": "29ca99f3-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 5500,
"orderAmount": 4000,
"tipAmount": 1500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29ca99f3-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:10:55Z",
"updatedAt": "2022-04-14T21:11:29Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:10:54Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369457464,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "be92c1e4-2fdd-4b28-a2ab-57addb085115"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "8CF4ACD8",
"0x5F24": "231231",
"0x9F02": "000000008000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"links": [
{
"href": "96d6ec95-aae0-45a9-bf29-2735f460ee59",
"rel": "CAPTURE",
"method": "GET"
}
],
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "ca62c3bb-90aa-4563-bd69-f95d91287627",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369473069,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 8000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29ea2e4d-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "302550",
"batchId": "1",
"retrievalRefNum": "29ea2e4d-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 8000,
"orderAmount": 5500,
"tipAmount": 2500,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "CAPTURED",
"id": "29ea2e4d-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:12:29Z",
"updatedAt": "2022-04-14T21:12:29Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:12:28Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",
"expirationDate": 31,
"expirationMonth": 12,
"expirationYear": 2023,
"id": 369458037,
"numberFirst6": "405413",
"numberLast4": "6357",
"numberMasked": "4054136357",
"cardHolderFirstName": "",
"cardHolderLastName": "",
"cardHolderFullName": "/",
"serviceCode": "201",
"cardId": "831f298b-0622-4e2a-9ad5-3a7cfabbb565"
},
"emvData": {
"emvTags": {
"0x1F8231": "18",
"0x9F06": "A0000000031010",
"0x9C": "00",
"0x9F37": "060F6C27",
"0x5F24": "231231",
"0x9F02": "000000009000",
"0x9F66": "82804000",
"0x5F20": "202F"
}
},
"entryDetails": {
"customerPresenceStatus": "PRESENT",
"entryMode": "CONTACTLESS_MAGSTRIPE"
},
"type": "CREDIT_DEBIT"
},
"references": [
{
"id": "",
"customType": "externalReferenceId",
"type": "CUSTOM"
},
{
"id": "4de10d8c-94b0-40c1-a4c6-d1420a543963",
"type": "POYNT_ORDER"
}
],
"customerUserId": 369473629,
"processorOptions": {
"scaIndicator": "supported"
},
"processorResponse": {
"approvedAmount": 9000,
"processor": "MOCK",
"acquirer": "CHASE_PAYMENTECH",
"status": "Successful",
"statusCode": "1",
"statusMessage": "Successful",
"transactionId": "29eb9e2e-0180-1000-d4b4-c6fb481f142d",
"approvalCode": "528437",
"batchId": "1",
"retrievalRefNum": "29eb9e2e-0180-1000-d4b4-c6fb481f142d"
},
"notes": "",
"customerLanguage": "en",
"settlementStatus": "UNSETTLED",
"action": "AUTHORIZE",
"amounts": {
"customerOptedNoTip": false,
"transactionAmount": 9000,
"orderAmount": 6000,
"tipAmount": 3000,
"cashbackAmount": 0,
"currency": "USD"
},
"status": "AUTHORIZED",
"id": "29eb9e2e-0180-1000-d4b4-c6fb481f142d"
},
{
"signatureRequired": false,
"signatureCaptured": false,
"pinCaptured": false,
"adjusted": false,
"amountsAdjusted": false,
"authOnly": true,
"partiallyApproved": false,
"actionVoid": false,
"voided": false,
"settled": false,
"reversalVoid": false,
"createdAt": "2022-04-14T21:13:45Z",
"updatedAt": "2022-04-22T18:03:53Z",
"context": {
"businessType": "TEST_MERCHANT",
"transmissionAtLocal": "2022-04-14T21:13:44Z",
"employeeUserId": 369299726,
"storeDeviceId": "urn:tid:c1e269b9-5afe-379e-b28c-c63a3373f3af",
"sourceApp": "co.poynt.posconnector",
"mcc": "5812",
"transactionInstruction": "ONLINE_AUTH_REQUIRED",
"source": "INSTORE",
"businessId": "a3f24e9e-6764-42f2-bbcd-5541e7f3be38",
"storeId": "0ac7c74b-d88e-4bd8-8d6b-ddf8db6ec700"
},
"fundingSource": {
"debit": false,
"card": {
"cardBrand": {
"createdAt": "2020-05-27T16:14:32Z",
"scheme": "VISA",
"displayName": "Visa",
"id": "c74ab71f-9024-4de0-910d-54c6a9c2bbc5"
},
"type": "VISA",
"source": "DIRECT",
"status": "ACTIVE",