// Copyright (c) 2026 Hashcode Fibration. All rights reserved. // // SPDX-FileCopyrightText: 2026 Hashcode Fibration // SPDX-License-Identifier: Proprietary // // This source code is proprietary and confidential. Unauthorized copying, // distribution, modification, disclosure, or use is prohibited except under // a written licence from Hashcode Fibration. // Generated by scripts/developer_contracts.py; do not edit. syntax = "proto3"; package pap.developer.v1; // gRPC DeveloperApi service contract published; not production-activated until PAP-1125. message CreatePaymentRequestV1 { int64 amount_minor = 1; string currency = 2; string capture_method = 3; string idempotency_key = 4; optional string store_location_id = 5; optional string setup_future_usage = 6; } message CreatePaymentResponseV1 { string payment_id = 1; string execution_mode = 2; string status = 3; int64 amount_minor = 4; string currency = 5; optional string store_location_id = 6; string fulfilment_code = 7; int64 created_at_epoch_millis = 8; } message CreateRefundRequestV1 { string payment_id = 1; optional int64 amount_minor = 2; string reason = 3; string idempotency_key = 4; } message CreateRefundResponseV1 { string refund_id = 1; string payment_id = 2; string status = 3; int64 amount_minor = 4; string currency = 5; int64 created_at_epoch_millis = 6; bool replayed = 7; } message CreateSandboxWebhookTestRunRequestV1 { string endpoint_id = 1; string fixture_id = 2; string idempotency_key = 3; } message CreateSandboxWebhookTestRunResponseV1 { string run_id = 1; string delivery_id = 2; string application_id = 3; string endpoint_id = 4; string fixture_id = 5; string execution_mode = 6; string status = 7; string disclaimer = 8; } service DeveloperApi { rpc CreatePayment(CreatePaymentRequestV1) returns (CreatePaymentResponseV1); rpc CreateRefund(CreateRefundRequestV1) returns (CreateRefundResponseV1); }