Payment Method PUT

URI

https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/accounting-service/payment-method/{ID}

Refer to our documentation on URI syntax for more information on how to construct URIs.

Description

Some things to consider:

  • Name must be unique
  • Bank accounts are optional. If any bank accounts are specified, then one of them must be for the base currency
  • The bank accounts must exist in the chart of accounts
  • The currency ISO code must be setup in Brightpearl
  • The installed integration ID defaults to 0 if not provided
  • The payment method code cannot be changed for an existing payment method.

Example

Request URI

/payment-method/1

Request body

{
	"name": "Sage Pay UK",
	"isActive": true,
	"bankAccounts": [
		{
			"currencyIsoCode": "GBP",
			"bankAccountNominalCode": "1200"
		}
	],
	"installedIntegrationId": "1"
}

Response

{
	"response": 2
}