openapi: 3.2.0 info: title: Zepto Ping API contact: email: support@zepto.com.au description: Zepto allows you to make, get and manage payments using nothing but bank accounts. version: '1.0' servers: - url: https://api.sandbox.zeptopayments.com description: Sandbox API server - url: https://api.zeptopayments.com description: Production API server security: - bearerAuth: [] tags: - name: Ping description: Test your connectivity and authentication. paths: /ping: parameters: - $ref: '#/components/parameters/ZeptoAPIVersion' get: tags: - Ping summary: Ping description: A simple endpoint to test your connectivity and authentication. operationId: Ping parameters: [] responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/PingResponse' components: parameters: ZeptoAPIVersion: name: Zepto-API-Version in: header required: false schema: type: string pattern: ^\d{8}$ default: '20250101' example: '20260101' description: API version in YYYYMMDD format. Defaults to 20250101 (legacy) when omitted. schemas: PingResponse: title: Ping (response) required: - ping type: object properties: ping: type: string example: ping: pong securitySchemes: bearerAuth: type: oauth2 flows: authorizationCode: authorizationUrl: /oauth/authorize tokenUrl: /oauth/token refreshUrl: /oauth/token scopes: public: Access your public information contacts: Manage your contacts payments: Manage your payments payment_requests: Manage your payment requests refunds: Manage your refunds agreements: Manage your agreements transactions: Access your transaction history open_agreements: Manage your open agreements transfers: Manage your Transfers