Base Address object used as shipping or billing address in a payment. [Optional]
A resource representing a credit card that can be used to fund a payment.
A resource representing a Payer's funding instrument.
Use a Payer ID (A unique identifier of the payer generated
and provided by the facilitator. This is required when
creating or using a tokenized funding instrument)
and the CreditCardDetails
A resource representing a Payer that funds a payment
Use the List of FundingInstrument
and the Payment Method
as 'credit_card'
Let's you specify a payment amount.
A transaction defines the contract of a
payment - what is the payment for and who
is fulfilling it. Transaction is created with
a Payee
and Amount
types
A Payment Resource; create one using the above types and intent as 'sale'
Pass in a ApiContext
object to authenticate
the call and to send a unique request id
(that ensures idempotency). The SDK generates
a request id if you do not pass one explicitly.
Create a payment by posting to the APIService using a valid ApiContext The return object contains the status;
CreatePaymentSample
This sample code demonstrate how you can process a payment with a credit card. API used: /v1/payments/payment