RevenueMonster/rm-go-sdk

(BUG) CreateOrderWithTokenizedCustomer

Closed this issue · 0 comments

func (c Client) CreateOrderWithTokenizedCustomer(request RequestCreateOrderWithTokenizedCustomer) (*ResponseCreateOrderWithTokenizedCustomer, error) {
// ...
if err := c.httpAPI(method, requestURL, nil, response); err != nil {
     return nil, err
}
// ...

the request need to pass as request body...

func (c Client) CreateOrderWithTokenizedCustomer(request RequestCreateOrderWithTokenizedCustomer) (*ResponseCreateOrderWithTokenizedCustomer, error) {
// ...
if err := c.httpAPI(method, requestURL, request, response); err != nil {
     return nil, err
}
// ...