Operations

Send a controlled test purchase

Creates an identity-free synthetic purchase and sends it only to the selected destination while test mode is enabled.

post/destinations/{destination}/test-purchase

Request

  • Base URL: https://plainrouter.com/api/v1
  • URL: https://plainrouter.com/api/v1/destinations/{destination}/test-purchase
  • Auth: HTTP bearer

Path parameters

destinationstring required

The destination ID

Request body

valuestring nullable
currencystring nullable
order_idstring nullable

Response

Meta accepted the test purchase.

event_idstring required
status'queued' | 'sent' | 'held' | 'accepted' | 'retrying' | 'failed:auth' | 'failed:permanent' | 'failed:unknown' | 'expired' | 'skipped:consent' | 'skipped:no_destination' | 'skipped:duplicate' | 'skipped:lifecycle' required
trace_idstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.