POST API/Payment/MakePayment

Request Information

URI Parameters

None.

Body Parameters

MakePaymentRequest
NameDescriptionTypeAdditional information
CustomerID

integer

None.

PaymentDate

date

None.

TransactionID

string

None.

Platform

string

None.

Amount

decimal number

None.

Token

string

None.

ValidationMessage

string

None.

ErrorCode

ErrorCodes

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "PaymentDate": "2025-12-09T21:23:02.6059524+00:00",
  "TransactionID": "sample string 3",
  "Platform": "sample string 4",
  "Amount": 5.1,
  "Token": "sample string 6",
  "ValidationMessage": "sample string 7",
  "ErrorCode": 101
}

application/xml, text/xml

Sample:
<MakePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Budget_WebAPI.Models">
  <Token>sample string 6</Token>
  <Amount>5.1</Amount>
  <CustomerID>1</CustomerID>
  <PaymentDate>2025-12-09T21:23:02.6059524+00:00</PaymentDate>
  <Platform>sample string 4</Platform>
  <TransactionID>sample string 3</TransactionID>
</MakePaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
AccountType

string

None.

ActiveAccount

boolean

None.

ExpirationDate

date

None.

CustomerMessage

CustomerMessage

None.

Success

boolean

None.

ErrorCode

ErrorCodes

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountType": "sample string 1",
  "ActiveAccount": true,
  "ExpirationDate": "2025-12-09T21:23:02.6355626+00:00",
  "CustomerMessage": {
    "Cheer": {
      "Message": "sample string 1"
    },
    "Advertisement": {
      "ID": 1,
      "ImageURL": "sample string 2",
      "DestinationURL": "sample string 3",
      "BackgroundColor": "sample string 4",
      "Sequence": 5,
      "IsNotification": true,
      "DisplayID": 7
    }
  },
  "Success": true,
  "ErrorCode": 101,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Budget_WebAPI.Models">
  <ErrorCode>InvalidToken</ErrorCode>
  <Message>sample string 4</Message>
  <Success>true</Success>
  <AccountType>sample string 1</AccountType>
  <ActiveAccount>true</ActiveAccount>
  <CustomerMessage>
    <Advertisement>
      <BackgroundColor>sample string 4</BackgroundColor>
      <DestinationURL>sample string 3</DestinationURL>
      <DisplayID>7</DisplayID>
      <ID>1</ID>
      <ImageURL>sample string 2</ImageURL>
      <IsNotification>true</IsNotification>
      <Sequence>5</Sequence>
    </Advertisement>
    <Cheer>
      <Message>sample string 1</Message>
    </Cheer>
  </CustomerMessage>
  <ExpirationDate>2025-12-09T21:23:02.6355626+00:00</ExpirationDate>
</TokenResponse>