{"method":"POST","path":"https://api.revcent.com/v2/bin_profiles/{bin_profile_id}","summary":"Edit A BIN Profile","description":"Edit a previously created BIN Profile using the BIN Profile ID. Only include the properties you wish to modify. For example, if you only want to modify the name of the BIN Profile, then only include the name property in the request body. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/EditBinProfile.md for an in-depth overview of this operation.","operationId":"EditBinProfile","parameters":[{"in":"path","name":"bin_profile_id","description":"The BIN Profile ID","required":true,"schema":{"type":"string","title":"BIN Profile ID","description":"A 20 character BIN Profile ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"type":"string","description":"The BIN Profile name. Must be unique from other BIN Profile names."},"description":{"type":"string","description":"The BIN Profile description."},"enabled":{"type":"boolean","description":"Whether the BIN Profile is enabled."},"bin_6":{"type":"array","description":"The BIN's to associate with the BIN Profile. When editing a BIN profile, if the bin_6 array is present it will replace the existing bin_6 array. Ensure all bin_6 values you want in the array are present when making the request with the bin_6 array.","items":{"type":"string","description":"An individual BIN, which must be a 6 digit string."}}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"bin_profile_id":{"type":"string","title":"BIN Profile ID","description":"A 20 character BIN Profile ID.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}