POST api/ApnPaymentLink/Send

Request Information

URI Parameters

None.

Body Parameters

PaymentLinkSendParams
NameDescriptionTypeAdditional information
AccountID

integer

None.

ContactID

integer

None.

Amount

decimal number

None.

Channel

string

None.

SentTo

string

None.

ExpiresInHours

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "ContactID": 1,
  "Amount": 1.0,
  "Channel": "sample string 1",
  "SentTo": "sample string 2",
  "ExpiresInHours": 1
}

application/xml, text/xml

Sample:
<PaymentLinkSendParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <AccountID>1</AccountID>
  <Amount>1</Amount>
  <Channel>sample string 1</Channel>
  <ContactID>1</ContactID>
  <ExpiresInHours>1</ExpiresInHours>
  <SentTo>sample string 2</SentTo>
</PaymentLinkSendParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfInt32
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": 1
}

application/xml, text/xml

Sample:
<ApiResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data>1</Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfint>