Skip to main content
GET
/
pms
/
transactions
/
{reference}
/
confirm
Confirm Transaction
curl --request GET \
  --url http://sandbox.mintlify.com/pms/transactions/{reference}/confirm/ \
  --header 'Authorization: Bearer <token>' \
  --header 'api-key: <api-key>' \
  --header 'api-secret: <api-secret>'
{
  "status": true,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "transaction_ref": "<string>",
    "amount": "<string>",
    "fee": "<string>",
    "status": "PENDING",
    "transaction_type": "CREDIT",
    "channel": "<string>",
    "payment_processor": "<string>",
    "access_code": "<string>",
    "checkout_url": "<string>",
    "api_key": "<string>",
    "payment_link": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "description": "<string>",
    "metadata": "<string>",
    "business_profile": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "email": "[email protected]",
      "business_logo": "<string>"
    },
    "order": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "channels": "<string>",
      "currency": "<string>",
      "redirect_url": "<string>",
      "webhook_url": "<string>",
      "customer_name": "<string>",
      "customer_email": "[email protected]",
      "customer_phone_number": "<string>",
      "metadata": "<string>",
      "created_datetime": "2023-11-07T05:31:56Z",
      "updated_datetime": "2023-11-07T05:31:56Z"
    },
    "virtual_account": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "bank_code": "<string>",
      "bank_name": "<string>",
      "account_number": "<string>",
      "account_name": "<string>",
      "account_type": "STATIC",
      "expire_datetime": "2023-11-07T05:31:56Z",
      "tracking_reference": "<string>",
      "created_datetime": "2023-11-07T05:31:56Z",
      "updated_datetime": "2023-11-07T05:31:56Z"
    },
    "logs": "<string>",
    "created_datetime": "2023-11-07T05:31:56Z",
    "updated_datetime": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Headers

api-key
string
required

Your Payvessel public API key

api-secret
string
required

Bearer token with your Payvessel secret

Path Parameters

reference
string
required

Transaction reference to confirm

Response

200 - application/json

Transaction details retrieved successfully

status
boolean

Request status

message
string

Response message

data
object