Set Billing Info

Adds a payment source to the order.

Path Params
string
required

Unique identifier of the order whose payment source you want to update.

Query Params
string

Determines the update strategy for this update (ApplyAndCommit, ApplyToOriginal, ApplyToDraft).

string

Determines whether or not to check versioning of items for concurrency purposes.

string

limits which fields are returned in the response body

Body Params

All the properties that you want the payment source object to contain.

string | null

Type of payment, such as credit card, check by mail, or PayPal.
see Mozu.CommerceRuntime.Contracts.Payments.PaymentTypeConst for valid values

string | null
billingContact
object
boolean

Indicates that billing and shipping address are the same

card
object

If the customer is paying by credit card, the card holder's details, such as the name on the card, number, billing
address, and expiration dates.

token
object
purchaseOrder
object

Purchase order payment

check
object
auditInfo
object
string | null

The store credit to use for this purchase

string | null

The type of store credit used for this purchase

string | null

Name of custom stored credit type

string | null

Transaction Id from third party payment source like Visa Checkout, Amazon

boolean

Indicates whether the payment is used in recurring transactions. ex- subscription payments

string | null

Recurring Payment Id returned by Payment Gateway
networkTransactionId for vantiv
previousTransactionId for cybersource etc

object | null

Custom data from payment providers

Response

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
text/plain