POST v1/Paypal

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
agreement
Documentation for 'agreement'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "token": "sample string 1",
  "baid": "sample string 2",
  "paymentCollectOptions": {
    "collectionAmount": 1.0,
    "payPendingCharges": true,
    "payBalanceOwing": true
  },
  "customerId": 3,
  "source": "sample string 4"
}

application/xml, text/xml

Sample:
Click to beautify!
<PaypalBillingAgreement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <CustomerId>3</CustomerId>
  <Source>sample string 4</Source>
  <Baid>sample string 2</Baid>
  <PaymentCollectOptions>
    <CollectionAmount>1</CollectionAmount>
    <PayBalanceOwing>true</PayBalanceOwing>
    <PayPendingCharges>true</PayPendingCharges>
  </PaymentCollectOptions>
  <Token>sample string 1</Token>
</PaypalBillingAgreement>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json, application/xml, text/xml

Sample:
Click to beautify!

Sample not available.