Saved credit card id from a previous call to CreateCreditCard.php
A resource representing a Payer's funding instrument. For stored credit card payments, set the CreditCardToken field on this object.
A resource representing a Payer that funds a payment For stored credit card payments, set payment method to 'credit_card'.
(Optional) Lets you specify item wise information
Use this optional field to set additional payment information such as tax, shipping charges etc.
Lets you specify a payment amount. You can also specify additional details such as shipping, tax.
A transaction defines the contract of a payment - what is the payment for and who is fulfilling it.
A Payment Resource; create one using the above types and intent set to 'sale'
For Sample Purposes Only.
Create a payment by calling the 'create' method
passing it a valid apiContext.
(See bootstrap.php for more on ApiContext
)
The return object contains the state.
Create payment using a saved credit card
This sample code demonstrates how you can process a Payment using a previously stored credit card token. API used: /v1/payments/payment