Skip to main content
GET
https://api.us.pointpair.com/v1
/
session_details
/
:id
Get Session Details
curl --request GET \
  --url https://api.us.pointpair.com/v1/session_details/:id \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "metadata": {},
  "order_amount": 123,
  "session_status": "<string>",
  "customer_firstname": "<string>",
  "customer_lastname": "<string>",
  "customer_email": "<string>",
  "total_fee": 123,
  "cashback_percentage": 123,
  "cashback_earned_by_customer": 123,
  "merchant_earned": true
}

Query Params

id
string
The Session ID for the payment session you would like to query.

Response

id
string
Unique identifier for the payment session.
metadata
JSON or null
Metadata passed as JSON object. Will not be shown if no metadata was passed in the new payment session endpoint.
order_amount
number
The order amount for this payment session.
session_status
string
Payment status of the session. open indicates payment is still not processed. complete indicates payment is completed. refunded indicates payment was refunded.
customer_firstname
string
Firstname of the customer.
customer_lastname
string
Lastname of the customer.
customer_email
string
Email of the customer.
total_fee
number
The total fee charged by the platform.
cashback_percentage
number
The percentage used to calculate the cash points for the customer.
cashback_earned_by_customer
number
The amount of cash points the customer earned.
merchant_earned
number
The final amount the merchant received.
merchant_earned
boolean
Indicates whether this payment session processed a real transaction (true) or a test transaction (false)