Create a Transaction
1 min
POST
https://api.sandbox.tripleup.dev/partner/transactions
bodyobject
201Transaction
400TripleBadRequestError
403TripleNotAuthenticatedError
404TripleInvalidPathError
409TripleIntegrityError
415TripleUnsupportedMediaType
422TripleUnprocessableEntity
500TripleInternalServerError
501TripleNotImplementedError
503TripleServiceUnavailable
curl --request POST \
--url https://api.sandbox.tripleup.dev/partner/transactions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"amount": 12,
"card_account_external_id": {},
"card_program_external_id": {},
"currency_code": "USD",
"debit": "",
"description": "Pittsburgh Zoo",
"external_id": "",
"publisher_external_id": {},
"timestamp": "2021-12-01T01:59:59.000Z",
"transaction_type": "PURCHASE"
}'Important notes:
- Do not submit authorizations as purchases.
- The amount for a Purchase transaction should not include cashback if it was part of the transaction.
- Transactions must be uploaded within 3 days of when they take place.
- Triple requires below mentioned field to generate rewards on the transaction
- card_bin
- card_last_4
- processor_mid
- processor_mid_type
- merchant_address.postal_code
- merchant_address.country_subdivision_code
- merchant_category_code
Note: Triple will make every effort to match transactions with any information that is submitted. However, without the additional required fields, we make no guarantee that a transaction will be matched and/or submitted for a cardholder reward or marketing fee.