We are building a prototype where in we would like to do the following using REST APIs Create a new billing accoun and subscribe the account to a plan. We would like to accept the credit card details using hosted payment pages Iframe. The REST API documentation says we need to conditionally pass either creditCard details or hpmCreditCardPaymentMethodId in the request. In this case since we want to receive payment over hosted payment pages iframe, we should be passing hpmCreditCardPaymentMethodId, correct? My question is where do I find hpmCreditCardPaymentMethodId? We have created hosted payment paged under Payment Settings section. But when I pass hosted payment page ID as hpmCreditCardPaymentMethodId, the create Account REST API throwing error that it is not valid value. Please help.
... View more