privacy.com
Version:
Wrapper for the Privacy.com API using Axios and TypeScript
17 lines (16 loc) • 670 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const __1 = require("../");
/**
* Simulates an authorization request from the payment network as if it came from a merchant acquirer.
* @remarks The API sends an event for all approvals. Decline events are available with API Issuing accounts and cannot be simulated.
* @link https://developer.privacy.com/docs#transaction-webhooks
*/
class SimulateAuthorizationRequest extends __1.PostEndpoint {
constructor(params) {
super();
this.path = "/simulate/authorize";
this.params = params;
}
}
exports.SimulateAuthorizationRequest = SimulateAuthorizationRequest;