Create a payment
Authentication
Request
Payment amount in stored minor units: cents for USD; for JPY, hundredths when currencyDecimals is 2 and whole yen when it is 0.
Three-letter ISO 4217 currency code. Lowercase is accepted and stored upper-cased.
When the payment was made (ISO 8601). Defaults to the current time.
Key-value metadata stored on the payment.
Response
Sequential payment number within your organization (shown as “PAY-0001”).
Payment amount in stored minor units: cents for USD; for JPY, hundredths when currencyDecimals is 2 and whole yen when it is 0.
Three-letter ISO currency code.
Decimals of this payment’s amounts, from the currency and how Paid stores it: 2 for USD (4999 is $49.99); for JPY 2 while Paid stores yen in hundredths, then 0. Divide amounts by 10^currencyDecimals; never assume 100.
Payment status: draft, posted, processing, requiresAction, failed, or canceled.
Key-value metadata stored on the payment.