> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Order Payment Requests

# Type: Order Payment Request Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-payment-requests/order-payment-request-object.md

## Schema:

```json
 Type: Order Payment Request Object | type: OrderPaymentRequest
       - name: id  | type: string | description: Order payment request ID.
           - name: value  | type: string | description: 
       - name: source  | type: Source | description: Details about the source that created the order payment request.
           - name: appId  | type: string | description: ID of the app that created the order payment request.
           - name: externalId  | type: string | description: Reference to a record in the source system. For example, if the payment request was created from a paylink or invoice, use this field to store the paylink ID or invoice ID.
       - name: status  | type: string | description: Payment request status. Set by the system. A new order payment request starts as `UNPAID`, unless `expirationDate` is already in the past at creation time, in which case it is created as `EXPIRED`. The system sets the status to `PAID` once payment is collected, `EXPIRED` when the expiration date passes, or `VOIDED` when the request is voided.
           enum: UNPAID, PAID, EXPIRED
       - name: orderId  | type: string | description: Order ID.
       - name: orderNumber  | type: string | description: Order number.
       - name: amount  | type: Price | description: Amount to collect. Set when the order payment request is created and can't be changed afterward.
           - name: amount  | type: string | description: Amount.
           - name: formattedAmount  | type: string | description: Amount formatted with currency symbol.
       - name: currency  | type: string | description: Three-letter currency code in [ISO-4217 alphabetic format](http://en.wikipedia.org/wiki/ISO_4217). Always matches the order's currency.
       - name: paymentGatewayOrderId  | type: string | description: Payment gateway order ID associated with this payment request.
       - name: title  | type: string | description: Title displayed to the customer on the payment page.
       - name: description  | type: string | description: Description displayed to the customer on the payment page.
       - name: expirationDate  | type: string | description: Date and time the order payment request expires. If not provided, the order payment request doesn't expire.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: extendedFields  | type: ExtendedFields | description: Custom field data for this order payment request.  [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions.md) must be configured in the app dashboard before they can be accessed with API calls.
           - name: namespaces  | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).
       - name: createdDate  | type: string | description: Date and time the order payment request was created.
       - name: updatedDate  | type: string | description: Date and time the order payment request was last updated.
       - name: image  | type: Image | description: Image to display to the customer on the payment page.
           - name: id  | type: string | description: WixMedia image ID.
           - name: height  | type: number | description: Original image height.
           - name: width  | type: number | description: Original image width.
           - name: altText  | type: string | description: Image alt text.
           - name: filename  | type: string | description: Image filename.
       - name: blockedPaymentMethods  | type: Array<PaymentMethod> | description: List of payment methods that can't be used for this order payment request.
           enum: MANUAL

```