POST
/
v1
/
transactions
/
enrichment
curl --request POST \
  --url https://api.nest.pagosapi.com/v1/transactions/enrichment \
  --header 'Content-Type: application/json' \
  --data '{
  "order_id": "<string>",
  "transaction_id": "<string>",
  "metadata": {}
}'

Body

application/json
metadata
object
required

A transaction-level label, represented as a JSON object and used to segment into meaningful groups. Metadata is typically used for segmentation by customer behavior (e.g. purchases from a particular seller) or merchant behavior (e.g. transaction routing or retries).

order_id
string

The merchant order reference, in case you have multiple transactions with the same order_id - all will be enriched.

Maximum length: 255
transaction_id
string

A unique value that identifies this transaction which was generated by PSP (Adyen -> pspReference, Stripe -> charge.id, Braintree -> sale.transaction.id, etc). Maximum 255 characters.

Maximum length: 255