Merchant creditor

Update creditor

Update creditor using its ID.

This endpoint generates a Marketplace creditor operation updated event.

put/v1/creditors/{creditorId}

Request

  • Base URL
    https://sandbox.pismolabs.io/merchants
  • URL
    https://sandbox.pismolabs.io/merchants/v1/creditors/{creditorId}
  • Auth
    HTTP bearer

Path parameters

creditorIdinteger required
Example:1

Creditor ID

Headers

Content-Typestring
Example:application/json

Content type

Authorizationstring
Example:Bearer 1JI12J39182H39182JDIOAWJ%=

Authorization token. This is a regular access token, which does not need to include an account ID.

Request body

namestring required

Creditor name

crediting_method'ACCOUNT'

Crediting method. Must be set to ACCOUNT.

advancement_feestring

Advancement fee for creditor.

discount_ratestring

Advancement discount rate for creditor.

maximum_advancement_percentagestring

Maximum advancement percentage for creditor.

Example request

{
  "name": "Acme Corporation",
  "crediting_method": "ACCOUNT",
  "advancement_fee": "30.00",
  "discount_rate": "0.03",
  "maximum_advancement_percentage": "0.80"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.