MerchantPaymentAgreementsRepository
public protocol MerchantPaymentAgreementsRepository
Undocumented
-
Charge a [PaymentAgreement]s
Declaration
Swift
func charge( paymentToken: String, chargePaymentAgreementRequest: ChargePaymentAgreementRequest, completion: @escaping ApiCompletion<DigitalPayPaymentAgreementResponse> )
Parameters
paymentToken
The ID.
chargePaymentAgreementRequest
details of charge to make against the payment agreement
-
Delete a [PaymentAgreement] by its associated payment token
Declaration
Swift
func delete(paymentToken: String, completion: @escaping ApiCompletion<Void>)
Parameters
paymentToken
The ID.