Documentation
¶
Index ¶
- type Account
- func (acc *Account) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (acc *Account) Delete(accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (acc *Account) Edit(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (acc *Account) Fetch(accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (acc *Account) FetchAccountDoc(accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (acc *Account) UploadAccountDoc(accountId string, params requests.FileUploadParams, ...) (map[string]interface{}, error)
- type Addon
- func (addon *Addon) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (addon *Addon) Delete(addonID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (addon *Addon) Fetch(addonID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Card
- type Customer
- func (cust *Customer) AddBankAccount(customerID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (cust *Customer) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (cust *Customer) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (cust *Customer) DeleteBankAccount(customerID string, bankAccountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (cust *Customer) Edit(customerID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (cust *Customer) Fetch(customerID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (cust *Customer) FetchEligibility(eligibilityId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (cust *Customer) RequestEligibilityCheck(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Dispute
- func (acc *Dispute) Accept(disputeId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (acc *Dispute) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (acc *Dispute) Contest(disputeId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (acc *Dispute) Fetch(disputeId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Document
- type FundAccount
- type Iin
- type Invoice
- func (inv *Invoice) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Invoice) Cancel(invoiceID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (inv *Invoice) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Invoice) CreateRegistrationLink(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Invoice) Delete(invoiceID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (inv *Invoice) Fetch(invoiceID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Invoice) Issue(invoiceID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Invoice) Notify(invoiceID string, medium string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Invoice) Update(invoiceID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Item
- func (item *Item) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (item *Item) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (item *Item) Delete(itemID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (item *Item) Fetch(itemID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (item *Item) Update(itemID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Order
- func (order *Order) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (order *Order) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (order *Order) EditFulfillment(orderID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (order *Order) Fetch(orderID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (order *Order) Payments(orderID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (order *Order) Update(orderID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (order *Order) ViewRtoReview(orderID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Payment
- func (p *Payment) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) BankTransfer(paymentID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) Capture(paymentID string, amount int, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) CreatePaymentJson(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) CreateRecurringPayment(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) CreateUpi(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) Edit(paymentID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) Fetch(paymentID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) FetchCardDetails(paymentID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) FetchMethods(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) FetchMultipleRefund(paymentId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) FetchPaymentDowntime(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) FetchPaymentDowntimeById(downtimeId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) FetchRefund(paymentId string, refundId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) OtpGenerate(paymentId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) OtpResend(paymentId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) OtpSubmit(paymentId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) Refund(paymentID string, amount int, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) Transfer(paymentID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (p *Payment) Transfers(paymentID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (p *Payment) ValidateVpa(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type PaymentLink
- func (pl *PaymentLink) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (pl *PaymentLink) Cancel(paymentLinkID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (pl *PaymentLink) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (pl *PaymentLink) Fetch(paymentLinkID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (pl *PaymentLink) NotifyBy(paymentLinkID string, medium string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (pl *PaymentLink) Update(paymentLinkID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- type Payout
- type Plan
- func (plan *Plan) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (plan *Plan) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (plan *Plan) Fetch(planID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Product
- func (prod *Product) Edit(accountId string, productId string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (prod *Product) Fetch(accountId string, productId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (prod *Product) FetchTnc(productname string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (prod *Product) RequestProductConfiguration(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type QrCode
- func (q *QrCode) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (q *QrCode) Close(QrCodeID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (q *QrCode) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (q *QrCode) Fetch(QrCodeID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (q *QrCode) FetchPayments(QrCodeID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Refund
- func (refund *Refund) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (refund *Refund) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (refund *Refund) Fetch(refundID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (refund *Refund) Update(refundID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Settlement
- func (settlement *Settlement) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (settlement *Settlement) CreateOnDemandSettlement(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (settlement *Settlement) Fetch(settlementID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (settlement *Settlement) FetchAllOnDemandSettlement(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (settlement *Settlement) FetchOnDemandSettlementById(settlementID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (settlement *Settlement) Reports(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Stakeholder
- func (stake *Stakeholder) All(accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (stake *Stakeholder) Create(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (stake *Stakeholder) Edit(accountId string, stakeholderId string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (stake *Stakeholder) Fetch(accountId string, stakeholderId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (stake *Stakeholder) FetchStakeholderDoc(accountId string, stakeholderId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (stake *Stakeholder) UploadStakeholderDoc(accountId string, stakeholderId string, params requests.FileUploadParams, ...) (map[string]interface{}, error)
- type Subscription
- func (s *Subscription) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Subscription) Cancel(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) CancelScheduledChanges(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (s *Subscription) CreateAddon(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) DeleteOffer(subscriptionID string, offerID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) Fetch(subscriptionID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) Pause(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) PendingUpdate(subscriptionID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) Resume(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (s *Subscription) Update(subscriptionID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- type Token
- func (t *Token) All(customerID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (t *Token) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Token) Delete(customerID string, tokenID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (t *Token) DeleteToken(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Token) Fetch(customerID string, tokenID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (t *Token) FetchCardPropertiesByToken(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Token) ProcessPaymentOnAlternatePAorPG(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type Transfer
- func (t *Transfer) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Transfer) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Transfer) Edit(transferID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (t *Transfer) Fetch(transferID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (t *Transfer) Reversals(transferID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (t *Transfer) Reverse(transferID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- type VirtualAccount
- func (v *VirtualAccount) AddReceiver(virtualAccID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (v *VirtualAccount) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (v *VirtualAccount) AllowedPayer(virtualAccID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (v *VirtualAccount) Close(virtualAccID string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (v *VirtualAccount) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (v *VirtualAccount) DeleteAllowedPayer(virtualAccID string, PayerId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (v *VirtualAccount) Fetch(virtualAccID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (v *VirtualAccount) Payments(virtualAccID string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- type Webhook
- func (wh *Webhook) All(accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (wh *Webhook) Create(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
- func (wh *Webhook) Delete(webhookId string, accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
- func (wh *Webhook) Edit(webhookId string, accountId string, data map[string]interface{}, ...) (map[string]interface{}, error)
- func (wh *Webhook) Fetch(webhookId string, accountId string, queryParams map[string]interface{}, ...) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v1.2.0
Account ...
func (*Account) Create ¶ added in v1.2.0
func (acc *Account) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new account for the given data.
func (*Account) Delete ¶ added in v1.2.0
func (acc *Account) Delete(accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete deletes the account having the given accountId.
func (*Account) Edit ¶ added in v1.2.0
func (acc *Account) Edit(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit updates the account having the given accountId.
func (*Account) Fetch ¶ added in v1.2.0
func (acc *Account) Fetch(accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches account having the given accountId.
func (*Account) FetchAccountDoc ¶ added in v1.2.0
func (acc *Account) FetchAccountDoc(accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchAccountDoc fetches the account documents.
func (*Account) UploadAccountDoc ¶ added in v1.2.0
func (acc *Account) UploadAccountDoc(accountId string, params requests.FileUploadParams, extraHeaders map[string]string) (map[string]interface{}, error)
UploadAccountDoc upload the account documents.
type Addon ¶
Addon ...
func (*Addon) All ¶
func (addon *Addon) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of addon for the given queryParams.
type Card ¶
Card ...
type Customer ¶
Customer ...
func (*Customer) AddBankAccount ¶ added in v1.3.2
func (*Customer) All ¶
func (cust *Customer) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of customer for the given queryParams.
func (*Customer) Create ¶
func (cust *Customer) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new customer for the given data.
func (*Customer) DeleteBankAccount ¶ added in v1.3.2
func (*Customer) Edit ¶
func (cust *Customer) Edit(customerID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit updates the customer having the given customerID.
func (*Customer) Fetch ¶
func (cust *Customer) Fetch(customerID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches customer having the given cutomerID.
func (*Customer) FetchEligibility ¶ added in v1.3.2
type Dispute ¶ added in v1.3.2
Dispute ...
type Document ¶ added in v1.3.2
Document ...
type FundAccount ¶
FundAccount ...
type Invoice ¶
Invoice ...
func (*Invoice) All ¶
func (inv *Invoice) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches multiple invoices for the given queryParams.
func (*Invoice) Cancel ¶
func (s *Invoice) Cancel(invoiceID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Cancel cancels a invoice having the given invoiceID.
func (*Invoice) Create ¶
func (inv *Invoice) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new invoice for the given data.
func (*Invoice) CreateRegistrationLink ¶
func (s *Invoice) CreateRegistrationLink(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CreateRegistrationLink creates a registration link
func (*Invoice) Delete ¶
func (s *Invoice) Delete(invoiceID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete delete a draft invoice having the given invoiceID.
func (*Invoice) Fetch ¶
func (inv *Invoice) Fetch(invoiceID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches an invoice having the given invoiceID.
func (*Invoice) Issue ¶
func (s *Invoice) Issue(invoiceID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Issue issue an invoice having the given invoiceID.
type Item ¶
Item ...
func (*Item) All ¶
func (item *Item) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of items for the given queryParams.
func (*Item) Create ¶
func (item *Item) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new item for the given data.
func (*Item) Delete ¶
func (item *Item) Delete(itemID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete deletes an item having the given itemID.
type Order ¶
Order ...
func (*Order) All ¶
func (order *Order) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches multiple orders for the given query params.
func (*Order) Create ¶
func (order *Order) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new order for the given data
func (*Order) EditFulfillment ¶ added in v1.3.2
func (*Order) Fetch ¶
func (order *Order) Fetch(orderID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches an order having the given orderID.
func (*Order) Payments ¶
func (order *Order) Payments(orderID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Payments fetches the payments for the given orderID.
type Payment ¶
Payment ...
func (*Payment) All ¶
func (p *Payment) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches multiple payment entities for the given queryParams.
func (*Payment) BankTransfer ¶
func (p *Payment) BankTransfer(paymentID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
BankTransfer fetches BankTransfer associated with the given paymentID.
func (*Payment) Capture ¶
func (p *Payment) Capture(paymentID string, amount int, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Capture captures the payment having the given paymentID.
func (*Payment) CreatePaymentJson ¶
func (p *Payment) CreatePaymentJson(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CreatePaymentJson creates a json payment for the given data.
func (*Payment) CreateRecurringPayment ¶
func (p *Payment) CreateRecurringPayment(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CreateRecurringPayment creates a recurring payment for the given data.
func (*Payment) Edit ¶
func (p *Payment) Edit(paymentID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit updates the payment having the given paymentID.
func (*Payment) Fetch ¶
func (p *Payment) Fetch(paymentID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches the payment entity for the given paymentID.
func (*Payment) FetchCardDetails ¶
func (p *Payment) FetchCardDetails(paymentID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchCardDetails fetches card details with the given paymentID.
func (*Payment) FetchMethods ¶
func (*Payment) FetchMultipleRefund ¶
func (p *Payment) FetchMultipleRefund(paymentId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchMultipleRefund fetches multiple refunds details with the given paymentID.
func (*Payment) FetchPaymentDowntime ¶
func (p *Payment) FetchPaymentDowntime(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchPaymentDowntime fetches downtime details.
func (*Payment) FetchPaymentDowntimeById ¶
func (p *Payment) FetchPaymentDowntimeById(downtimeId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchPaymentDowntimeById fetches downtime details with the given downtimeID.
func (*Payment) FetchRefund ¶
func (p *Payment) FetchRefund(paymentId string, refundId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchRefund fetches refund detail with the given paymentId and refundId
func (*Payment) OtpGenerate ¶
func (*Payment) Refund ¶
func (p *Payment) Refund(paymentID string, amount int, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Refund initiates a refund for the given paymentID.
func (*Payment) Transfer ¶
func (p *Payment) Transfer(paymentID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Transfer creates a transfer of the payment having the given paymentID.
type PaymentLink ¶
PaymentLink ...
func (*PaymentLink) All ¶
func (pl *PaymentLink) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches multiple PaymentLink for the given queryParams.
func (*PaymentLink) Cancel ¶
func (pl *PaymentLink) Cancel(paymentLinkID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Cancel cancels paymentLink
func (*PaymentLink) Create ¶
func (pl *PaymentLink) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new PaymentLink for the given data.
func (*PaymentLink) Fetch ¶
func (pl *PaymentLink) Fetch(paymentLinkID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches an PaymentLink having the given paymentLinkID.
type Payout ¶ added in v1.3.3
Payout represents the payout resource
type Plan ¶
Plan ...
func (*Plan) All ¶
func (plan *Plan) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of plans for the given queryParams.
type Product ¶ added in v1.2.0
Product ...
func (*Product) Edit ¶ added in v1.2.0
func (prod *Product) Edit(accountId string, productId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit updates the product's configuration.
func (*Product) Fetch ¶ added in v1.2.0
func (prod *Product) Fetch(accountId string, productId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches the details of a product.
func (*Product) FetchTnc ¶ added in v1.2.0
func (prod *Product) FetchTnc(productname string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchTnc fetches the terms and conditions.
func (*Product) RequestProductConfiguration ¶ added in v1.2.0
func (prod *Product) RequestProductConfiguration(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
RequestProductConfiguration creates a request for a product configuration for the given data.
type QrCode ¶
QrCode ...
func (*QrCode) All ¶
func (q *QrCode) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of QrCode for the given queryParams.
func (*QrCode) Close ¶
func (q *QrCode) Close(QrCodeID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Close close a QrCode for the given QrCodeID.
func (*QrCode) Create ¶
func (q *QrCode) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new qrcode for the given data.
type Refund ¶
Refund ...
func (*Refund) All ¶
func (refund *Refund) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches colelction of Refund for the given queryParams
func (*Refund) Create ¶
func (refund *Refund) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new Refund for the given data.
type Settlement ¶
Settlement ...
func (*Settlement) All ¶
func (settlement *Settlement) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of settlements for the given queryParams.
func (*Settlement) CreateOnDemandSettlement ¶
func (settlement *Settlement) CreateOnDemandSettlement(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CreateOnDemandSettlement creates a On-demand Settlement for the given data.
func (*Settlement) Fetch ¶
func (settlement *Settlement) Fetch(settlementID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches a settlement having the given settlementID.
func (*Settlement) FetchAllOnDemandSettlement ¶
func (settlement *Settlement) FetchAllOnDemandSettlement(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchAllOnDemandSettlement fetches all On-demand Settlements.
func (*Settlement) FetchOnDemandSettlementById ¶
func (settlement *Settlement) FetchOnDemandSettlementById(settlementID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchOnDemandSettlementById fetches On-demand Settlement by settlementID.
type Stakeholder ¶ added in v1.2.0
Stakeholder ...
func (*Stakeholder) All ¶ added in v1.2.0
func (stake *Stakeholder) All(accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of stakeholder for the given accountId.
func (*Stakeholder) Create ¶ added in v1.2.0
func (stake *Stakeholder) Create(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new stakeholder for the given data.
func (*Stakeholder) Edit ¶ added in v1.2.0
func (stake *Stakeholder) Edit(accountId string, stakeholderId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit updates the stakeholder having the given accountId & stakeholderId.
func (*Stakeholder) Fetch ¶ added in v1.2.0
func (stake *Stakeholder) Fetch(accountId string, stakeholderId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches stakeholder having the given accountId & stakeholderId.
func (*Stakeholder) FetchStakeholderDoc ¶ added in v1.2.0
func (stake *Stakeholder) FetchStakeholderDoc(accountId string, stakeholderId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchStakeholderDoc fetches the stakeholder documents.
func (*Stakeholder) UploadStakeholderDoc ¶ added in v1.2.0
func (stake *Stakeholder) UploadStakeholderDoc(accountId string, stakeholderId string, params requests.FileUploadParams, extraHeaders map[string]string) (map[string]interface{}, error)
UploadStakeholderDoc upload stakeholder documents.
type Subscription ¶
Subscription ...
func (*Subscription) All ¶
func (s *Subscription) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of subscription for the given queryParams.
func (*Subscription) Cancel ¶
func (s *Subscription) Cancel(subscriptionID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Cancel cancels a subscription having the given subscriptionID.
func (*Subscription) CancelScheduledChanges ¶
func (s *Subscription) CancelScheduledChanges(subscriptionID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CancelScheduledChanges cancels a pending update.
func (*Subscription) Create ¶
func (s *Subscription) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new subscription for the given data.
func (*Subscription) CreateAddon ¶
func (s *Subscription) CreateAddon(subscriptionID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
CreateAddon creates a new addon on the subscription having the given subscriptionID.
func (*Subscription) DeleteOffer ¶
func (s *Subscription) DeleteOffer(subscriptionID string, offerID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
DeleteOffer deletes a offer linked to subscription.
func (*Subscription) Fetch ¶
func (s *Subscription) Fetch(subscriptionID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches a subscription having the given subscriptionID.
func (*Subscription) Pause ¶
func (s *Subscription) Pause(subscriptionID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Pause a subscription having the given subscriptionID.
func (*Subscription) PendingUpdate ¶
func (s *Subscription) PendingUpdate(subscriptionID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
PendingUpdate fetches details of a pending update.
type Token ¶
Token ...
func (*Token) All ¶
func (t *Token) All(customerID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of tokens for associated with a customer having the given customerID.
func (*Token) Create ¶ added in v1.2.0
func (t *Token) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new token for the given data.
func (*Token) Delete ¶
func (t *Token) Delete(customerID string, tokenID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete deletes a token having the given tokenID associated with a customer having the given customerID.
func (*Token) DeleteToken ¶ added in v1.2.0
func (t *Token) DeleteToken(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
DeleteToken deletes a token.
func (*Token) Fetch ¶
func (t *Token) Fetch(customerID string, tokenID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches a token having the given tokenID associated with a customer having the given customerID.
func (*Token) FetchCardPropertiesByToken ¶ added in v1.2.0
func (t *Token) FetchCardPropertiesByToken(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
FetchCardPropertiesByToken fetches card properties of an existing token.
func (*Token) ProcessPaymentOnAlternatePAorPG ¶ added in v1.2.0
func (t *Token) ProcessPaymentOnAlternatePAorPG(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
ProcessPaymentOnAlternatePAorPG process a payment on the tokenised card on another PA/PG with token created on razorpay
type Transfer ¶
Transfer ...
func (*Transfer) All ¶
func (t *Transfer) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of transfer for the given queryParams.
func (*Transfer) Create ¶
func (t *Transfer) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new transfer for the given data.
func (*Transfer) Edit ¶
func (t *Transfer) Edit(transferID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Edit edits the transfer having the given transferID.
func (*Transfer) Fetch ¶
func (t *Transfer) Fetch(transferID string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Fetch fetches a transfer having the given transferID.
type VirtualAccount ¶
VirtualAccount ...
func (*VirtualAccount) AddReceiver ¶
func (v *VirtualAccount) AddReceiver(virtualAccID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create add receiver to an existing virtual account by virtual Id and data
func (*VirtualAccount) All ¶
func (v *VirtualAccount) All(queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of virtual account for the given queryParams.
func (*VirtualAccount) AllowedPayer ¶
func (v *VirtualAccount) AllowedPayer(virtualAccID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Allowedpayer add allowed payers account detail by virtualId and data
func (*VirtualAccount) Close ¶
func (v *VirtualAccount) Close(virtualAccID string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Close closes the virtual account having the given virtualAccID.
func (*VirtualAccount) Create ¶
func (v *VirtualAccount) Create(data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Create creates a new virtual account for the given data.
func (*VirtualAccount) DeleteAllowedPayer ¶
func (v *VirtualAccount) DeleteAllowedPayer(virtualAccID string, PayerId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete delete allowed payers account details by virtualId and allowed Payer id
type Webhook ¶ added in v1.2.0
Product ...
func (*Webhook) All ¶ added in v1.2.0
func (wh *Webhook) All(accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
All fetches collection of webhook.
func (*Webhook) Create ¶ added in v1.2.0
func (wh *Webhook) Create(accountId string, data map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Webhook creates a new webhook for the given data.
func (*Webhook) Delete ¶ added in v1.2.0
func (wh *Webhook) Delete(webhookId string, accountId string, queryParams map[string]interface{}, extraHeaders map[string]string) (map[string]interface{}, error)
Delete deletes a webhook having the given invoiceID.