paymentmethod

This topic applies to

Applies to

Commerce Web Stores

 

This object includes payment method information for the order.

Field Name

Field Type

Description

In Get Functions?

In Set Functions?

internalid

string

Internal ID

yes

no

creditcard

string

Indicates whether payment method is a credit card

Value should be T or F.

If the Payments Instruments feature is enabled, this contains T if the payment method is a payment card token.

yes

no

creditcardtoken

string

Indicates whether payment method is a payment card token.

Value should be T or F.

Applicable only if the Payments Instruments feature is enabled.

yes

no

ispaypal

string

Indicates whether payment method is PayPal

Value should be T or F.

yes

no

name

string

Name of the payment method

yes

no

paypalemailaddress

string

Primary paypal email address

yes

no

merchantid

string

Internal ID of the merchant account linked with the payment method

yes

no

isexternal

string

Indicates whether payment method is handled outside of NetSuite

Value should be T or F.

yes

no

imagesrc

string

Returns the URL of the image file used to represent the payment method.

yes

no

Note

You cannot set an invoice as a payment method. Instead, set invoice as the paymentterms value for the payment object. See Using an Invoice as Payment for an example.