Copy payment info
Use the copyPaymentInfo method.
Copy card-on-file data available in the 2Checkout system from a source subscription to an imported target subscription. 2Checkout uses the existing payment information to charge customers as a part of the recurring billing (renewal) process.
Requirements
The imported target subscription and the source subscription must belong to the same customer. The 2Checkout system checks to make sure that the 2Checkout Customer Reference (internal identifier) coincides for the customer accounts associated to the target and source subscriptions.
Availability
Contact 2Checkout directly if you wish to take advantage of this feature.
Request parameters
sessionID
Required (string)
Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.
TargetSubscriptionReference
Required (string) The 2Checkout Subscription Reference of the imported target subscription, to which 2Checkout copies the payment on file data associated with the source subscription.
SubscriptionReference
Required (string) The 2Checkout Subscription Reference of the source subscription whose attached payment on file data 2Checkout copies to the target subscription.
Request sample
Response parameters
Boolean
true or false depending on whether or not the operation succeeded.
Last updated
Was this helpful?