Skip to main content
GET
/
v1
/
pvt
/
Customer
/
{id}
/
pendingpoints
Retrieve pending purchase points and cashback for a given customer.
curl --request GET \
  --url https://api.bonifiq.com.br/v1/pvt/Customer/{id}/pendingpoints \
  --header 'Authorization: Basic <encoded-value>'
{
  "TotalPendingPoints": 123,
  "TotalPendingCashback": 123,
  "PendingOrders": [
    {
      "OrderDate": "2023-11-07T05:31:56Z",
      "OrderValue": 123,
      "PendingPoints": 123,
      "PendingCashback": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Path Parameters

id
string
required

Id from the client`s store, usually email address

Response

200 - application/json

Summary of purchase points and cashback that are still pending for a customer.

TotalPendingPoints
integer<int32>

Total amount of pending points considering all eligible pending orders.

TotalPendingCashback
number<decimal> | null

Total cashback equivalent for the pending points when cashback is active. Otherwise null.

PendingOrders
object[]

Orders that still have points pending to be processed or are still waiting for the scoring status.