Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCardRequest ¶
type AddCardRequest struct { CardNumber string `json:"card_number"` ExpireMonth string `json:"expire_month"` ExpireYear string `json:"expire_year"` CVC string `json:"cvc"` }
AddCardRequest --
type AddCardResponse ¶
type AddCardResponse struct { Status int64 `json:"status"` Message string `json:"message,omitempty"` }
AddCardResponse --
type PurchaseData ¶
type PurchaseData struct {
TransactionID string `json:"transaction_id"`
}
type PurchaseResponse ¶
type PurchaseResponse struct { Status int64 `json:"status"` Data *PurchaseData `json:"data,omitempty"` Message string `json:"message,omitempty"` }
PurchaseResponse --
Click to show internal directories.
Click to hide internal directories.