CreatePayment Method
Creates a payment to be executed at a later time.
Syntax
int CreatePayment();
Remarks
Use this method to set up a payment but not actually make it. You can then use the SetPaymentOptions method with the PaymentKey returned by this class to modify any payment settings you wish to change before actually running the transaction. After everything is set up, pass the PaymentKey to the ExecutePayment method to fulfill the transaction.
If you do not need to change any payment settings, simply call the Pay method instead of using CreatePayment and ExecutePayment.