FakeMyJSON
  • FakeMyJSON - Documentation
  • Faker Formatters
    • Base
    • Lorem Ipsum Text
    • Person
    • Address
    • Phone Number
    • Company
    • Real Text
    • Date and Time
    • Internet
    • User Agent
    • Payment
    • Color
    • File
    • Image
    • Uuid
    • Barcode
    • Miscellaneous
  • Special Keys and Values
    • Special Keys
  • FakeMyJSON.io
  • Start generating random JSON!
Powered by GitBook
On this page
  • creditCardType
  • creditCardNumber
  • creditCardExpirationDate
  • creditCardExpirationDateString
  • creditCardDetails
  • iban
  • swiftBicNumber
  • price(min, max, psychologicalPrice, decimals)

Was this helpful?

  1. Faker Formatters

Payment

creditCardType

Output Type: String

{
    "creditCardType": "creditCardType"
}
{
    "creditCardType": "MasterCard",
}

creditCardNumber

Output Type: String

{
    "creditCardNumber": "creditCardNumber"
}
{
     "creditCardNumber": "4929616559790962"
}

creditCardExpirationDate

Output Type: Object

{
    "creditCardExpirationDate": "creditCardExpirationDate"
}
{
    "creditCardExpirationDate":  {
				"date": "2022-09-02 02:16:37.000000",
				"timezone_type": 3,
				"timezone": "UTC"
	}
}

creditCardExpirationDateString

Output Type: String

{
    "creditCardExpirationDateString": "creditCardExpirationDateString"
}
{
    "creditCardExpirationDateString": "06/21"
}

creditCardDetails

Output Type: Object

{
    "creditCardDetails": "creditCardDetails"
}
{
    "creditCardDetails": {
				"type": "Visa",
				"number": "4716807690872853",
				"name": "Prof. Stefanie Frami DDS",
				"expirationDate": "07/21"
		}
}

iban

Output Type: String

{
    "iban": "iban"
}
{
    "iban": "BH86LYHC4HA8Q31T905KLZ"
}

swiftBicNumber

Output Type: String

{
    "swiftBicNumber": "swiftBicNumber"
}
{
    "swiftBicNumber": "PMNXLZS5"
}

price(min, max, psychologicalPrice, decimals)

Output Type: Float

Argument

Type

Default

Valid Values

min

Integer

1000

max

Integer

20000

psychologicalPrice

Boolean

true

true, false

decimals

Boolean

true

true, false

{
    "price": "price"
}
{
  "price": 2309.29
}

PreviousUser AgentNextColor

Last updated 4 years ago

Was this helpful?