POST api/Orders/PaymentMethods

Request Information

URI Parameters

None.

Body Parameters

GetBasePaymentMethodsRequest

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<GetBasePaymentMethodsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp" />

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetBasePaymentMethodsRequest'.

Response Information

Resource Description

GetBasePaymentMethodsResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BasePaymentMethodModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Token": "e7f12a12-a3b5-4020-bfa2-f164c2654982",
  "BaseObjects": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "SortOrder": 3,
      "IsDeleted": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:27:37.7061845+00:00",
      "LastUpdated": "2026-03-20T14:27:37.7061845+00:00",
      "Id": 1
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "SortOrder": 3,
      "IsDeleted": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:27:37.7061845+00:00",
      "LastUpdated": "2026-03-20T14:27:37.7061845+00:00",
      "Id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBasePaymentMethodsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:BasePaymentMethodModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-20T14:27:37.7061845+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:27:37.7061845+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:SortOrder>3</d2p1:SortOrder>
    </d2p1:BasePaymentMethodModel>
    <d2p1:BasePaymentMethodModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-20T14:27:37.7061845+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:27:37.7061845+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:SortOrder>3</d2p1:SortOrder>
    </d2p1:BasePaymentMethodModel>
  </BaseObjects>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <Token>e7f12a12-a3b5-4020-bfa2-f164c2654982</Token>
</GetBasePaymentMethodsResponse>