Skip to main content
GET
/
commerce
/
orders
/
{orderId}
/
billinginfo
Error
A valid request URL is required to generate request examples
{
  "paymentType": "<string>",
  "paymentWorkflow": "<string>",
  "billingContact": {
    "id": 123,
    "email": "<string>",
    "firstName": "<string>",
    "middleNameOrInitial": "<string>",
    "lastNameOrSurname": "<string>",
    "companyOrOrganization": "<string>",
    "phoneNumbers": {
      "home": "<string>",
      "mobile": "<string>",
      "work": "<string>"
    },
    "address": {
      "address1": "<string>",
      "address2": "<string>",
      "address3": "<string>",
      "address4": "<string>",
      "cityOrTown": "<string>",
      "stateOrProvince": "<string>",
      "postalOrZipCode": "<string>",
      "countryCode": "<string>",
      "addressType": "<string>",
      "isValidated": true
    }
  },
  "isSameBillingShippingAddress": true,
  "card": {
    "paymentOrCardType": "<string>",
    "cardNumberPartOrMask": "<string>",
    "expireMonth": 123,
    "expireYear": 123,
    "bin": "<string>",
    "paymentServiceCardId": "<string>",
    "isUsedRecurring": true,
    "nameOnCard": "<string>",
    "isCardInfoSaved": true,
    "isTokenized": true,
    "ccLastFour": "<string>"
  },
  "token": {
    "paymentServiceTokenId": "<string>",
    "type": "<string>"
  },
  "purchaseOrder": {
    "purchaseOrderNumber": "<string>",
    "paymentTerm": {
      "code": "<string>",
      "description": "<string>"
    },
    "customFields": [
      {
        "code": "<string>",
        "label": "<string>",
        "value": "<string>"
      }
    ]
  },
  "check": {
    "checkNumber": "<string>"
  },
  "auditInfo": {
    "updateDate": "2023-11-07T05:31:56Z",
    "createDate": "2023-11-07T05:31:56Z",
    "updateBy": "<string>",
    "createBy": "<string>"
  },
  "storeCreditCode": "<string>",
  "storeCreditType": "<string>",
  "customCreditType": "<string>",
  "externalTransactionId": "<string>",
  "isRecurring": true,
  "recurringTransactionId": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

orderId
string
required

Unique identifier of the order whose customer's payment source you want to get.

Query Parameters

draft
boolean

Determines whether the draft version should be retrieved if one exists.

responseFields
string

limits which fields are returned in the response body

Response

Success

Customer's payment details such as payment type (credit card, check by mail, or PayPal) and cardholder information if payment is by credit card.

paymentType
string | null

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

paymentWorkflow
string | null
billingContact
object
isSameBillingShippingAddress
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
storeCreditCode
string | null

The store credit to use for this purchase

storeCreditType
string | null

The type of store credit used for this purchase

customCreditType
string | null

Name of custom stored credit type

externalTransactionId
string | null

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

isRecurring
boolean

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

recurringTransactionId
string | null

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

data
object

Custom data from payment providers