Autional Autional
API Reference GitHub autional.com →

GET /admin/billing/payment-gateways/{plan_id}

Query the configuration details of a payment gateway by ID, including name, code, status and JSON configuration.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Payment gateway ID

Responses

StatusDescriptionSchema
200Payment gateway query successfuldto.PaymentGatewayDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
403No permissionobject
404Payment gateway not foundobject
500Internal server errorobject

Referenced Schemas

dto.PaymentGatewayDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.PaymentGatewayResponse No
message string No
timestamp string No

dto.PaymentGatewayResponse

FieldTypeRequiredExampleConstraintsDescription
code string No alipay
config string No
created_at string No 2026-01-01T00:00:00Z
id string No pg_001
name string No Alipay
status string No active
updated_at string No 2026-04-10T14:20:00Z