Authorize Points Transaction
Creates an authorization for a points withdrawal or deposit. This reserves the points for a specified period and must be finalized.
Authentication
x-np-api-keystring
API Key authentication via header
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
membershipId
Unique identifier for a membership.
Headers
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
requestId
A unique identifier for the request. If you send the same requestId twice, it will be guaranteed to only trigger once.
type
The type of the request.
pointsToReserve
The positive number of points to reserve. Set type to withdrawal to deduct points.
reason
A description of why the points are being reserved.
externalReferenceNo
Your external reference number, such as a POS Receipt number, invoice number etc.
externalSystemIdentifier
An identifier of your external system. This together with the entra app name identifies the external system that is making the operation.
timeoutPeriod
The duration in minutes for which the authorization is valid.
externalSystemUserIdentifier
An identifier for the user in the external system, e.g. a POS UnitId, a salesperson code in an external POS or a user ID in a customer support tool.
externalBusinessUnitIdentifier
An identifier for the business unit of the external system.
Response
This endpoint returns an object.
expiresAt
The date and time when the authorization expires if a timeoutPeriod is specified in the request.
