GET api/Payment?LoginKey={LoginKey}

pass in a Loginkey to see if the user is configured for Paycargo. Returns the account number you need for the PUT

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LoginKey

string

Required

Body Parameters

None.

Response Information

Resource Description

PayCargoDetails
NameDescriptionTypeAdditional information
Accountnumber

string

None.

CreditLine

string

None.

CreateOnly

string

None.

LoginKey

string

None.

Uniquekey

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Accountnumber": "sample string 1",
  "CreditLine": "sample string 2",
  "CreateOnly": "sample string 3",
  "LoginKey": "sample string 4",
  "Uniquekey": 5
}

application/xml, text/xml

Sample:
<PaymentController.PayCargoDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/REST.Controllers">
  <Accountnumber>sample string 1</Accountnumber>
  <CreateOnly>sample string 3</CreateOnly>
  <CreditLine>sample string 2</CreditLine>
  <LoginKey>sample string 4</LoginKey>
  <Uniquekey>5</Uniquekey>
</PaymentController.PayCargoDetails>