Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Order Status (v2) → Get Payment Details

AI-generated

Summary

Retrieve the payment details of a specific order by its Order ID using Gambio's API v2, supporting authentication via Basic Auth or Bearer Token (JWT).

Inputs

  • authentication (required) — Method to authenticate with the Gambio API; options are Basic Auth (using admin email and password, compatible with v2 and v3 API) or Bearer Token (JWT, for v3 API only). Defaults to Basic Auth.
  • orderId (required) — Numeric ID of the order to retrieve payment details for.
  • requestOptions — Optional request parameters including batching options, SSL certificate validation override, HTTP proxy settings, and request timeout to customize the HTTP request behavior.

Output shape

a single record containing the payment details of the specified order, as returned by the Gambio v2 API

The operation calls the GET method on the endpoint '/api.php/v2/orders/{orderId}/payment_details' or equivalent endpoint, returning JSON containing payment details. Pagination is not applicable since it's a single order's payment detail. Errors will be indicated via standard HTTP response codes.

Examples

Example 1: Get payment details for order ID 123 using Basic Auth

Set authentication to Basic Auth, provide orderId as 123, use default request options if desired.

Example 2: Get payment details for order ID 456 using Bearer Token

Set authentication to Bearer Token, provide JWT token in credentials, specify orderId as 456.

Discussion