Saved credit card id from a previous call to CreateCreditCard.php
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'
Create a payment by posting to the APIService
(See bootstrap.php for more on ApiContext
)
The return object contains the status;
Create payment using a saved credit card
This sample code demonstrates how you can process a Payment using a previously saved credit card. API used: /v1/payments/payment