Create a Payout Method
Changed onCreates a new payout method for a counterparty. This stores the payment details (bank account, blockchain address, etc.) that can be referenced when creating a payout within a payout requests.
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Counterparty ID
Headers
Organization ID to act on behalf of
Request body
Example request
{
"payoutMethod": {
"details": {
"intermediaryRoutingNumber": "021000021",
"swiftBic": "DEUTDEFF"
}
}
}Response
The successfully created payout method
Example response
{
"payoutMethod": {
"details": {
"bankAccountNumberTruncated": "****1234",
"bankRoutingNumberTruncated": "****0021"
}
}
}Changes
- breaking
removed the enum value
SOLANAof the request property// - breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
added to the
//response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
//// - warning
removed the request property
//// - warning
removed the request property
//// - warning
removed the request property
//// - warning
added the new
AdditionalCounterpartyInformationRequiredenum value to theresponse property for the response status - warning
added the new
TRONenum value to the///response property for the response status - info
added the new
TRONenum value to the request property// - info
added to the
//request propertyoneOflist - info
added to the
//request propertyoneOflist - info
added response discriminator for the response status
- info
added the non-success response with the status
- info
removed the
SOLANAenum value from the///response property for the response status
- breaking