Counterparties
Create a Counterparty
Changed onCreates a new counterparty (recipient) that can be referenced in future payouts. The counterparty information is stored and can be reused across multiple payout requests.
post/api/counterparties
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
on-behalf-ofstring
Organization ID to act on behalf of
Request body
Example request
{
"counterparty": {
"physicalAddress": {
"address1": "123 Main Street",
"address2": "Suite 400",
"city": "New York",
"country": "US",
"postalCode": "10001",
"subDivision": "NY"
}
}
}Response
The successfully created counterparty
Changes
- warning
added the new
SignedAgreementRequiredExceptionenum value to theresponse property for the response status - info
added the non-success response with the status
- warning