Magidoc

PaymentMethod
Object

PaymentMethod model

Fields

#

publicId

Non-null

The resource public id (ie: pm_xxxxxxxx)

legacyId

createdAt

Non-null

The date and time this payout method was created

updatedAt

Non-null

The date and time this payout method was updated

name

providerType

Defines the type of the payment method. Meant to be moved to "type" in the future.

balance

Non-null

Returns the balance amount and the currency of this paymentMethod

account

sourcePaymentMethod

For gift cards, this field will return to the source payment method

data

limitedToHosts

[ Host ]

expiryDate

monthlyLimit

For monthly gift cards, this field will return the monthly limit

orders

Get all the orders associated with this payment method

Usages

#

References

#

  • Field paymentMethod from Order
  • Field paymentMethods from Host