Retrieve a Transaction
users
transfers
payout-links
payments
payment-intents
payment-customers
checkout-sessions
accounts-payable
- GETList all vendors
- POSTCreate a vendor
- GETGet vendor details
- DELDelete a vendor
- GETList all payment methods for a vendor
- POSTCreate a payment method for a vendor
- GETGet vendor payment method details
- DELDelete a vendor payment method
- GETList all payables
- POSTCreate a payable
- POSTCreate a payable from a file
- GETGet payable details
- PATCHUpdate a payable
- POSTUpload file to the payable
- DELDelete file from the payable
- POSTCancel a payable
- POSTSubmit a payable for approval
- POSTApprove a payable
- POSTReject a payable
- POSTPay a payable
- GETList all approval policies
- POSTCreate an approval policy
- DELDelete an approval policy
- PATCHUpdate priority of an approval policy
- GETList all approvers for api app
apps
payment-methods
organizations
Retrieve a Transaction
All requests to the /v2/transactions/*
endpoints must include both the
client_id
and api_key
as detailed in the
Authentication document.
Get a transaction
object by its id
.
Retrieve a Transaction
Method
Make a request to /v2/transactions/get/transaction/
> curl https://pls.senddotssandbox.com/v2/transactions/get/transation/5cfabe15-d452-4558-8e46-56d90ebe48f7 \
-H "Authorization: Basic <TOKEN>"
> response = {
"success": true,
"transaction": {
"id": "5cfabe15-d452-4558-8e46-56d90ebe48f7",
"date": "Mon, 21 Feb 2022 21:08:49 GMT",
"source_username": "sha",
"destination_username": "kartikye",
"amount": 700,
"completed": true,
"type": "wallet",
"receipt": {
"items": [
{
"name": "Pikachu Digital Pet",
"unit_amount": 250,
"quantity": 1,
"description": "A little Pikachu for your desktop"
},
{
"name": "Charmander Digital Pet",
"unit_amount": 225,
"quantity": 2,
"description": "A ferocius Charmander for your desktop"
}
],
"breakdown": {
"items_total": 700,
"tax": 100,
"shipping": 0
},
},
"notes": {
"internal_id": "tr_213124"
}
}
}
On this page