Skip to main content
PUT
/
api
/
external
/
approve-pending-transactions
Approve pending point transactions
curl --request PUT \
  --url https://loyalty-admin.appstle.com/api/external/approve-pending-transactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
[
  {
    "transactionId": 123,
    "customerId": 123
  }
]
'
{
  "error": "Invalid request",
  "details": "Must provide either approveAllPendingTransactions=true or a list of pending transactions to approve"
}

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Headers

X-API-Key
string
required

API key for authentication

Query Parameters

approveAllPendingTransactions
boolean

Set to true to approve all pending transactions (ignores pendingPointsApprovalList)

Body

application/json
transactionId
integer<int64>
customerId
integer<int64>

Response

Approval process started successfully (asynchronous operation). Points will be added to customer accounts within a few seconds.