About Pay Transaction ​
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Payment is a core component of Genstore's transaction processing. It provides complete payment and refund information query capabilities. Through this module, merchants can track payment and refund status, platform transaction IDs, and processing timestamps to ensure precise transaction monitoring.
Core Concepts
- Payment Record: Transaction documentation containing payment status, processing time, and platform-generated transaction ID.
- Refund Record: Refund documentation containing refund status, processing time, and platform-generated refund ID.
- ID System:
- Internal Transaction ID: Genstore's internal identifier for payments and refunds.
- Platform Transaction ID: Transaction reference number generated by external payment platforms.
- Order/Refund ID: Reference number from the merchant's business system.
Core Features
- Query Payment: Retrieve payment details through internal payment transaction ID, including payment order status, platform transaction ID, and payment success time, among other information.
- Query Refund: Retrieve refund details through internal refund transaction ID, including payment order status, platform transaction ID, and payment success time, among other information.
Use Cases
- Payment Tracking: Merchants can monitor payment status in real-time to confirm transaction completion.
- Refund Monitoring: Operations teams can track refund progress to ensure timely processing.
- Transaction Reconciliation: Finance teams can reconcile transactions with external payment platforms using platform transaction IDs.
Endpoints
GET
/api/202412/payment/{paymentId}: Get payment
Pay Transaction Object ​
The payment transaction object.
Properties ​
{
"payment": {
"successPaymentTime": "2019-06-28T18:03:50+01:00",
"amount": "123.23",
"channelTrxNo": "0SX593062F1597043",
"paymentId": "PI0020241010151755224",
"fee": "5.01",
"currency": "USD",
"net": "118.22",
"outOrderNo": "101010101000000000136",
"status": "1"
}
}
GET
Get payment ​
Query payment information.
Access scope
Requires ANY of the following access scopes: write_payments_transaction
read_payments_transaction
Endpoint
GET
/api/202412/payment/{paymentId}
Request Params
Response Data
curl -X GET \
https://{shop}.genmystore.com/api/202412/payment/{paymentId}" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{
"payment": {
"successPaymentTime": "2019-06-28T18:03:50+01:00",
"amount": "123.23",
"channelTrxNo": "0SX593062F1597043",
"paymentId": "PI0020241010151755224",
"fee": "5.01",
"currency": "USD",
"net": "118.22",
"outOrderNo": "101010101000000000136",
"status": "1"
}
}
About Pay Transaction
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Payment is a core component of Genstore's transaction processing. It provides complete payment and refund information query capabilities. Through this module, merchants can track payment and refund status, platform transaction IDs, and processing timestamps to ensure precise transaction monitoring.
Core Concepts
- Payment Record: Transaction documentation containing payment status, processing time, and platform-generated transaction ID.
- Refund Record: Refund documentation containing refund status, processing time, and platform-generated refund ID.
- ID System:
- Internal Transaction ID: Genstore's internal identifier for payments and refunds.
- Platform Transaction ID: Transaction reference number generated by external payment platforms.
- Order/Refund ID: Reference number from the merchant's business system.
Core Features
- Query Payment: Retrieve payment details through internal payment transaction ID, including payment order status, platform transaction ID, and payment success time, among other information.
- Query Refund: Retrieve refund details through internal refund transaction ID, including payment order status, platform transaction ID, and payment success time, among other information.
Use Cases
- Payment Tracking: Merchants can monitor payment status in real-time to confirm transaction completion.
- Refund Monitoring: Operations teams can track refund progress to ensure timely processing.
- Transaction Reconciliation: Finance teams can reconcile transactions with external payment platforms using platform transaction IDs.
Pay Transaction Object
The payment transaction object.
Properties
GET
Get payment
Query payment information.
Access scope
Requires ANY of the following access scopes: write_payments_transaction
read_payments_transaction
Endpoint
GET
/api/202412/payment/{paymentId}