midtrans_get_json_object_schema
Retrieve JSON schemas for Midtrans API objects with field definitions, types, required fields, and examples to build correct payment integration requests.
Instructions
Get the detailed JSON object schema for Midtrans API request/response objects.
Includes field definitions, types, required status, descriptions, and example JSON for each object type.
Available objects: transaction_details, customer_details, item_details, seller_details, custom_expiry, credit_card_object, gopay_object, shopeepay_object, bank_transfer_object, echannel_object, qris_object, ovo_object, convenience_store_object, action_object, payment_amount_object, dana_object, google_pay_object.
Args: params: Contains the object type to get schema for.
Returns: str: Detailed schema with field table, example JSON, and usage notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |