Go struct for OverTheCounter payment method details in Xendit API
// Source: https://github.com/xendit/xendit-go | License: MIT | Copyright 2017-2025 Xendit
// Provided via justclaw.it.com; keep this notice with the code.
/*
Payment Requests
This API is used for Payment Requests
API version: 1.70.0
*/
package payment_request
import (
"encoding/json"
utils "github.com/xendit/xendit-go/v7/utils"
)
// checks if the OverTheCounter type satisfies the MappedNullable interface at compile time
var _ utils.MappedNullable = &OverTheCounter{}
// OverTheCounter Over the Counter Payment Method Details
type OverTheCounter struct {
Amount NullableFloat64 `json:"amount,omitempty"`
Currency *PaymentRequestCurrency `json:"currency,omitempty"`
ChannelCode OverTheCounterChannelCode `json:"channel_code"`
ChannelProperties OverTheCounterChannelProperties `json:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key