Skip to main content
GET
/
api
/
transaction
/
{id}
Get transaction
curl --request GET \
  --url https://api.use3p.com/api/transaction/{id} \
  --header 'Authorization: Bearer <token>'
{
  "amount": 123,
  "created_at": "<string>",
  "id": "<string>",
  "meta": {
    "email": "<string>",
    "name": "<string>",
    "others": {},
    "phone": "<string>",
    "product": "<string>",
    "product_description": "<string>",
    "redirect_url": "<string>"
  },
  "provider": "flutterwave",
  "reference": "<string>",
  "status": "pending",
  "type": "debit",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Transaction ID

Response

200 - application/json

Transaction retrieved successfully

amount
number

Amount holds the value of the "amount" field.

created_at
string

CreatedAt holds the value of the "created_at" field.

id
string

ID of the ent.

meta
object
provider
enum<string>
Available options:
flutterwave,
paystack
reference
string

Reference holds the value of the "reference" field.

status
enum<string>
Available options:
pending,
successful,
failed
type
enum<string>
Available options:
debit,
credit
updated_at
string

UpdatedAt holds the value of the "updated_at" field.