Skip to main content
POST
https://staging-api.propaga.io/v1
/
link
/
external
/
{externalId}
Create transaction link
curl --request POST \
  --url https://staging-api.propaga.io/v1/link/external/{externalId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "transaction": {
    "cornerStoreId": "<string>",
    "totalAmount": 123,
    "wholesalerTransactionId": "<string>",
    "products": [
      {
        "externalSKU": "<string>",
        "name": "<string>",
        "quantity": 123
      }
    ],
    "metadata": {}
  }
}
'
{
    "link": "https://registro.propaga.io/transaction/04e78c90-4514-4a69-b68b-06516a0e0496",
    "transactionId": "04e78c90-4514-4a69-b68b-06516a0e0496"
}
{
    "link": "https://registro.propaga.io/transaction/04e78c90-4514-4a69-b68b-06516a0e0496",
    "transactionId": "04e78c90-4514-4a69-b68b-06516a0e0496"
}

Body

transaction
object
required
cornerStoreId
string
required
Propaga’s corner store id
totalAmount
number
required
Total amount of the order
wholesalerTransactionId
string
Your internal ID for this order
products
array
required
metadata
object
Any metadata you want to save for the transaction
externalId
string
required
Wholesaler’s user ID

Response

Transaction link
transactionId
string
Propaga’s transaction id